Massive renaming, pkgfs is now called xbps.
Also known as "xtraeme's build package system". --HG-- extra : convert_revision : 119840ceae588fef65d6dcab651f607f54fa0be6
This commit is contained in:
6
templates/perl-runstuff-after-install.sh
Executable file → Normal file
6
templates/perl-runstuff-after-install.sh
Executable file → Normal file
@@ -1,11 +1,11 @@
|
||||
# Fixup Config.pm to look at PKGFS_MASTERDIR, this helps modules
|
||||
# Fixup Config.pm to look at XBPS_MASTERDIR, this helps modules
|
||||
# to use correct dirs while building/installing them.
|
||||
|
||||
perl_arch=$(uname -m)
|
||||
perl_libdir=$PKGFS_DESTDIR/$pkgname-$version/lib/perl5
|
||||
perl_libdir=$XBPS_DESTDIR/$pkgname-$version/lib/perl5
|
||||
config_pm=$perl_libdir/$version/$perl_arch-netbsd-thread-multi/Config.pm
|
||||
|
||||
$sed_cmd -e "s|$PKGFS_DESTDIR\/$pkgname-$version|$PKGFS_MASTERDIR|g" \
|
||||
$sed_cmd -e "s|$XBPS_DESTDIR\/$pkgname-$version|$XBPS_MASTERDIR|g" \
|
||||
$config_pm > $config_pm.in
|
||||
$chmod_cmd 444 $config_pm.in
|
||||
$mv_cmd -f $config_pm.in $config_pm
|
||||
|
||||
Reference in New Issue
Block a user