summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2024-05-04 09:54:51 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2024-05-04 09:55:25 +0200
commitaf6f5b33121ad871e9debf8f7c109ef24370a94b (patch)
treedc521e16de74df33564ca82fa4c03bd663456d9a /app-emulation/free42
parentdev-python/regex: Stabilize 2024.4.16 x86, #931159 (diff)
downloadgentoo-af6f5b33121ad871e9debf8f7c109ef24370a94b.tar.gz
gentoo-af6f5b33121ad871e9debf8f7c109ef24370a94b.tar.bz2
gentoo-af6f5b33121ad871e9debf8f7c109ef24370a94b.zip
app-emulation/free42: also handle unset $AR
Bug: https://bugs.gentoo.org/931146 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'app-emulation/free42')
-rw-r--r--app-emulation/free42/files/free42-3.0.16-fix-build-intel-lib.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-emulation/free42/files/free42-3.0.16-fix-build-intel-lib.patch b/app-emulation/free42/files/free42-3.0.16-fix-build-intel-lib.patch
index 304f20ec83b2..c9cde2fbda2c 100644
--- a/app-emulation/free42/files/free42-3.0.16-fix-build-intel-lib.patch
+++ b/app-emulation/free42/files/free42-3.0.16-fix-build-intel-lib.patch
@@ -23,7 +23,7 @@ diff -Naur free42-nologo-3.0.16.orig/gtk/build-intel-lib.sh free42-nologo-3.0.16
+
cd LIBRARY
-$MK $OS_ARG CC=$CC CALL_BY_REF=1 GLOBAL_RND=1 GLOBAL_FLAGS=1 UNCHANGED_BINARY_FLAGS=0 $ENDIAN_ARG
-+$MK $OS_ARG A=a AR_CMD="$AR rv" CC=$CC CALL_BY_REF=1 GLOBAL_RND=1 GLOBAL_FLAGS=1 UNCHANGED_BINARY_FLAGS=0 $ENDIAN_ARG
++$MK $OS_ARG A=a AR_CMD="${AR:-ar} rv" CC=$CC CALL_BY_REF=1 GLOBAL_RND=1 GLOBAL_FLAGS=1 UNCHANGED_BINARY_FLAGS=0 $ENDIAN_ARG
mv libbid.a ../../gcc111libbid.a
cd ../..
( echo '#ifdef FREE42_FPTEST'; echo 'const char *readtest_lines[] = {'; tr -d '\r' < IntelRDFPMathLib20U1/TESTS/readtest.in | sed 's/^\(.*\)$/"\1",/'; echo '0 };'; echo '#endif' ) > readtest_lines.cc