From cf47f9b567413f4110b6d649d4e0b52f94568aa2 Mon Sep 17 00:00:00 2001 From: midipix Date: Jul 02 2024 14:16:25 +0000 Subject: perl: fix reference to the build workdir. --- diff --git a/groups.d/221.native_packages_dev.d/perl.package b/groups.d/221.native_packages_dev.d/perl.package index 26f99ea..c1c4e63 100644 --- a/groups.d/221.native_packages_dev.d/perl.package +++ b/groups.d/221.native_packages_dev.d/perl.package @@ -6,7 +6,7 @@ : ${PKG_PERL_CONFIGURE_ARGS:="-A ccflags=-I${PREFIX_NATIVE}/include -Duseshrplib -Darchname=${DEFAULT_TARGET} -Darchlib=/usr/lib/perl5/${PKG_PERL_VERSION}/${DEFAULT_TARGET} -Dsitearch=/usr/lib/perl5/site_perl/${PKG_PERL_VERSION}/${DEFAULT_TARGET} --sysroot=${PREFIX_NATIVE} --target=${DEFAULT_TARGET}"}; : ${PKG_PERL_CFLAGS_CONFIGURE_EXTRA:="-std=gnu99"}; : ${PKG_PERL_ENV_VARS_EXTRA:="TARGET=${DEFAULT_TARGET}"}; -: ${PKG_PERL_MAKEFLAGS_BUILD:="PERL_ARCHIVE_AFTER=${PREFIX}/tmp/perl-native-${DEFAULT_TARGET}/perl-${PKG_PERL_VERSION}/libperl.so OTHERLDFLAGS=--sysroot=${PREFIX_NATIVE}"}; +: ${PKG_PERL_MAKEFLAGS_BUILD:="PERL_ARCHIVE_AFTER=${BUILD_WORKDIR}/perl-native-${DEFAULT_TARGET}/perl-${PKG_PERL_VERSION}/libperl.so OTHERLDFLAGS=--sysroot=${PREFIX_NATIVE}"}; : ${PKG_PERL_MAKEFLAGS_PARALLELISE:="-j1"}; : ${PKG_PERL_INSTALL_FILES_V2:="+%[_subdir]/libperl.so=lib/libperl.so"}; : ${PKG_PERL_SUBDIR:=perl-${PKG_PERL_VERSION}};