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:47:09 +0000
commit9161cb3bced192dbe7765456685b035f28eb449b (patch)
treeb12dc0320616d80c21671b1950801466502be178
parenta0df700865af5cd56f69ae8b5da2fc5d176d7ad4 (diff)
downloadports-9161cb3bced192dbe7765456685b035f28eb449b.tar.gz
ports-9161cb3bced192dbe7765456685b035f28eb449b.zip
lang/gnat13: fix on systems without 32-bit libraries
Same patch than GNAT12. PR: 279143 Reported by: agh (at) riseup.net
-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