git: 39da018952c2 - 2024Q2 - lang/gnat13: fix on systems without 32-bit libraries
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 May 2024 15:58:45 UTC
The branch 2024Q2 has been updated by thierry:
URL: https://cgit.FreeBSD.org/ports/commit/?id=39da018952c27b683fb71fba8020e1f9d3217a32
commit 39da018952c27b683fb71fba8020e1f9d3217a32
Author: Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2024-05-23 15:47:09 +0000
Commit: Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2024-05-23 15:57:18 +0000
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)
---
lang/gnat13/Makefile | 2 ++
1 file changed, 2 insertions(+)
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