perl: remove references to cross toolchain.
This commit is contained in:
parent
24ee4f5557
commit
2e687358ce
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'perl'.
|
# Template build file for 'perl'.
|
||||||
pkgname=perl
|
pkgname=perl
|
||||||
version=5.18.2
|
version=5.18.2
|
||||||
revision=3
|
revision=4
|
||||||
hostmakedepends="which less"
|
hostmakedepends="which less"
|
||||||
makedepends="zlib-devel bzip2-devel gdbm-devel db-devel>=5.3"
|
makedepends="zlib-devel bzip2-devel gdbm-devel db-devel>=5.3"
|
||||||
short_desc="Practical Extraction and Report Language"
|
short_desc="Practical Extraction and Report Language"
|
||||||
|
@ -226,6 +226,11 @@ do_install() {
|
||||||
${DESTDIR}/usr/lib/perl5/core_perl/auto/
|
${DESTDIR}/usr/lib/perl5/core_perl/auto/
|
||||||
find ${DESTDIR} -name .exists |xargs rm -f
|
find ${DESTDIR} -name .exists |xargs rm -f
|
||||||
rm -rf ${DESTDIR}/usr/share/perl5/core_perl/$XBPS_CROSS_TRIPLET
|
rm -rf ${DESTDIR}/usr/share/perl5/core_perl/$XBPS_CROSS_TRIPLET
|
||||||
|
|
||||||
|
# Remove references to cross toolchain.
|
||||||
|
sed -i "s/$XBPS_CROSS_TRIPLET-//g" \
|
||||||
|
${DESTDIR}/usr/lib/perl5/core_perl/Config_heavy.pl \
|
||||||
|
${DESTDIR}/usr/lib/perl5/core_perl/Config.pm
|
||||||
else
|
else
|
||||||
make DESTDIR=${DESTDIR} install
|
make DESTDIR=${DESTDIR} install
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue