aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Certner <olce@FreeBSD.org>2024-05-23 15:47:09 +0000
committerThierry Thomas <thierry@FreeBSD.org>2024-05-23 15:57:18 +0000
commit39da018952c27b683fb71fba8020e1f9d3217a32 (patch)
tree10b93b3a59b8d2ff5ee914e3c6636c2022744af4
parent83bc3ce78d66e405c9a14eba78075458ad202609 (diff)
downloadports-39da018952c27b683fb71fba8020e1f9d3217a32.tar.gz
ports-39da018952c27b683fb71fba8020e1f9d3217a32.zip
lang/gnat13: fix on systems without 32-bit libraries
Same patch than GNAT12. PR: 279143 Reported by: agh (at) riseup.net (cherry picked from commit 9161cb3bced192dbe7765456685b035f28eb449b)
-rw-r--r--lang/gnat13/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/gnat13/Makefile b/lang/gnat13/Makefile
index 3a397b905940..04e485915608 100644
--- a/lang/gnat13/Makefile
+++ b/lang/gnat13/Makefile
@@ -85,6 +85,8 @@ GNAT12_BUILD_DEPENDS= gnat12>0:lang/gnat12
GNAT12_VARS= _GNAT12_PATH=${LOCALBASE}/gnat12/bin
.if exists(/usr/lib32/libc.so)
MULTILIB_CONFIGURE_ENABLE= multilib
+.else
+CONFIGURE_ARGS+= --disable-multilib
.endif
NLS_CONFIGURE_ON= --enable-nls
NLS_CONFIGURE_OFF= --disable-nls