perl: fix archname subst while cross building.
This commit is contained in:
parent
a162fa9b73
commit
dec702e510
|
@ -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" \
|
||||
|
|
Loading…
Reference in New Issue