Adapt perl to linux.
--HG-- extra : convert_revision : 0195de3a330193ea5caa9426ce893e682017e49c
This commit is contained in:
parent
420f14d2ae
commit
04bd07c1c5
4 changed files with 8 additions and 33 deletions
|
@ -1,6 +1,7 @@
|
|||
# This fixes the definitions that the perl binary uses to look at
|
||||
# XBPS_MASTERDIR and not XBPS_DESTDIR!
|
||||
# prefix and not XBPS_DESTDIR/MASTERDIR.
|
||||
|
||||
$sed_cmd -e "s|$XBPS_DESTDIR\/$pkgname-$version|$XBPS_MASTERDIR|g" \
|
||||
$wrksrc/config.h > $wrksrc/config.h.in && \
|
||||
$mv_cmd -f $wrksrc/config.h.in $wrksrc/config.h
|
||||
$sed_cmd -i \
|
||||
-e "s|$XBPS_DESTDIR\/$pkgname-$version|/usr|g" \
|
||||
-e "s|$XBPS_MASTERDIR||g" \
|
||||
$wrksrc/config.h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue