git: 9161cb3bced1 - main - lang/gnat13: fix on systems without 32-bit libraries

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Thu, 23 May 2024 15:50:23 UTC
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9161cb3bced192dbe7765456685b035f28eb449b

commit 9161cb3bced192dbe7765456685b035f28eb449b
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:47:09 +0000

    lang/gnat13: fix on systems without 32-bit libraries
    
    Same patch than GNAT12.
    
    PR:             279143
    Reported by:    agh (at) riseup.net
---
 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