lang/gnat1?: force the usage of gettext

It appears that gettext is required even when NLS is disabled (surely
because the compiler used for bootstrap has been built with NLS).

No bump of PORTREVISION needed.

PR:		277508
Reported by:	bob (at) vesterman.com
2024Q2
Thierry Thomas 2024-03-18 21:32:22 +01:00
parent 167c4e1d19
commit 8d9daace01
2 changed files with 2 additions and 4 deletions

View File

@ -21,7 +21,7 @@ LIB_DEPENDS= libgmp.so:math/gmp \
RUN_DEPENDS= ${LOCALBASE}/bin/as:devel/binutils \
gcc${_GCC_VER}>0:lang/gcc${_GCC_VER}
USES= bison gmake iconv libtool localbase tar:xz
USES= bison gettext-runtime gmake iconv libtool localbase tar:xz
USE_BINUTILS= yes
USE_LDCONFIG= ${_TARGLIB}
@ -88,7 +88,6 @@ GCC6AUX_VARS= _GCC6AUX_PATH=${LOCALBASE}/gcc6-aux/bin
.if exists(/usr/lib32/libc.so)
MULTILIB_CONFIGURE_ENABLE= multilib
.endif
NLS_USES= gettext-runtime
NLS_CONFIGURE_ON= --enable-nls
NLS_CONFIGURE_OFF= --disable-nls
PREVASSET_DISTFILES+= ${_PREV_ASSET_FILE}.tar.xz:gnat

View File

@ -19,7 +19,7 @@ LIB_DEPENDS= libgmp.so:math/gmp \
libmpfr.so:math/mpfr
RUN_DEPENDS= ${LOCALBASE}/bin/as:devel/binutils
USES= bison gmake iconv libtool localbase tar:xz
USES= bison gettext-runtime gmake iconv libtool localbase tar:xz
USE_BINUTILS= yes
USE_LDCONFIG= ${_TARGLIB}
@ -86,7 +86,6 @@ GNAT12_VARS= _GNAT12_PATH=${LOCALBASE}/gnat12/bin
.if exists(/usr/lib32/libc.so)
MULTILIB_CONFIGURE_ENABLE= multilib
.endif
NLS_USES= gettext-runtime
NLS_CONFIGURE_ON= --enable-nls
NLS_CONFIGURE_OFF= --disable-nls
PREVASSET_DISTFILES+= ${_PREV_ASSET_FILE}.tar.xz:gnat