diff --git a/srcpkgs/perl/template b/srcpkgs/perl/template index 92606c2f5d5..cfe60b9b05d 100644 --- a/srcpkgs/perl/template +++ b/srcpkgs/perl/template @@ -1,7 +1,7 @@ # Template build file for 'perl'. pkgname=perl version=5.18.2 -revision=4 +revision=5 hostmakedepends="which less" makedepends="zlib-devel bzip2-devel gdbm-devel db-devel>=5.3" short_desc="Practical Extraction and Report Language" @@ -175,7 +175,7 @@ do_configure() { cp -f ${FILESDIR}/Configure.cross . # substitute some required strings in generated config.sh - sed -e "s,@@XBPS_CROSS_ARCH@@,${XBPS_CROSS_ARCH},g" \ + sed -e "s,@@XBPS_CROSS_ARCH@@,${XBPS_TARGET_ARCH},g" \ -e "s,@@XBPS_CROSS_TRIPLET@@,${XBPS_CROSS_TRIPLET},g" \ -e "s,@@XBPS_CROSS_CFLAGS@@,${XBPS_CROSS_CFLAGS},g" \ -e "s,@@PERL_VERSION@@,${version},g" \