Added xf86-input-vmmouse-12.5.1 template.
[pkgfs.git] / templates / perl-runstuff-after-install.sh
blob8c652e3e00cf4f7bf46c30da9dc2d055189b6cbc
1 # Fixup Config.pm to look at PKGFS_MASTERDIR, this helps modules
2 # to use correct dirs while building/installing them.
4 perl_arch=$(uname -m)
5 perl_libdir=$PKGFS_DESTDIR/$pkgname-$version/lib/perl5
6 config_pm=$perl_libdir/$version/$perl_arch-netbsd-thread-multi/Config.pm
8 $sed_cmd -e "s|$PKGFS_DESTDIR\/$pkgname-$version|$PKGFS_MASTERDIR|g" \
9 $config_pm > $config_pm.in
10 $chmod_cmd 444 $config_pm.in
11 $mv_cmd -f $config_pm.in $config_pm