summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorabs <abs>2001-05-17 14:51:41 +0000
committerabs <abs>2001-05-17 14:51:41 +0000
commitac66c04c54641474db7b4d91abdd4bb90831e2a3 (patch)
tree6072abc9eb34e7f2495dde67876e4e18209e14cd /mk/bsd.pkg.mk
parente19e9a0ab8fefbbeebe612ea24acf4e5eeadb4ae (diff)
downloadpkgsrc-ac66c04c54641474db7b4d91abdd4bb90831e2a3.tar.gz
Skip all the -lintl checks on Linux
Diffstat (limited to 'mk/bsd.pkg.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)