void-packages/templates/perl-runstuff-before-build.sh
Juan RP 04bd07c1c5 Adapt perl to linux.
--HG--
extra : convert_revision : 0195de3a330193ea5caa9426ce893e682017e49c
2008-10-22 18:39:17 +02:00

7 lines
232 B
Bash

# This fixes the definitions that the perl binary uses to look at
# prefix and not XBPS_DESTDIR/MASTERDIR.
$sed_cmd -i \
-e "s|$XBPS_DESTDIR\/$pkgname-$version|/usr|g" \
-e "s|$XBPS_MASTERDIR||g" \
$wrksrc/config.h