void-packages/templates/perl-runstuff-before-build.sh
Juan RP cfa18b4416 Massive renaming, pkgfs is now called xbps.
Also known as "xtraeme's build package system".

--HG--
extra : convert_revision : 119840ceae588fef65d6dcab651f607f54fa0be6
2008-10-13 07:32:05 +02:00

6 lines
268 B
Bash

# This fixes the definitions that the perl binary uses to look at
# XBPS_MASTERDIR and not XBPS_DESTDIR!
$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