summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2001-05-17 14:51:41 +0000
committerabs <abs@pkgsrc.org>2001-05-17 14:51:41 +0000
commit4a4e51ea412c6775764ab03f200a80d864fb47b5 (patch)
tree6072abc9eb34e7f2495dde67876e4e18209e14cd /mk
parent4f310d37d9fb9a850eea2ca3d4b01fc4c1cc24c0 (diff)
downloadpkgsrc-4a4e51ea412c6775764ab03f200a80d864fb47b5.tar.gz
Skip all the -lintl checks on Linux
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 3 insertions, 1 deletions
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)