1 # Fixup Config.pm to look at PKGFS_MASTERDIR, this helps modules
2 # to use correct dirs while building/installing them.
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