From 4a4e51ea412c6775764ab03f200a80d864fb47b5 Mon Sep 17 00:00:00 2001 From: abs Date: Thu, 17 May 2001 14:51:41 +0000 Subject: Skip all the -lintl checks on Linux --- mk/bsd.pkg.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index ee8ddd0952f..551a6dae6b1 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.736 2001/05/17 11:12:31 agc Exp $ +# $NetBSD: bsd.pkg.mk,v 1.737 2001/05/17 14:51:41 abs Exp $ # # This file is in the public domain. # @@ -217,6 +217,7 @@ DEPENDS+= gtexinfo-3.12:../../devel/gtexinfo # -lintl in CONFIGURE_ENV is to workaround broken gettext.m4 # (gettext.m4 does not add -lintl where it should, and fails to detect # if libintl.a is genuine GNU gettext or not). +.if ${OPSYS} != "Linux" .if defined(USE_LIBINTL) .if exists(/usr/include/libintl.h) .if defined(GNU_CONFIGURE) @@ -231,6 +232,7 @@ CONFIGURE_ENV+= LIBS="${LIBS} -L${LOCALBASE}/lib -lintl" .endif .endif .endif +.endif LIBTOOL_REQD= 1.4.20010219nb6 .if defined(USE_LIBTOOL) -- cgit v1.2.3