From dec702e5105f2d11e9378f1c5b37ef15a3291dd8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 28 Aug 2014 15:42:57 +0200 Subject: [PATCH] perl: fix archname subst while cross building. --- srcpkgs/perl/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" \