summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorjlam <jlam>2001-06-12 20:30:09 +0000
committerjlam <jlam>2001-06-12 20:30:09 +0000
commit080b575bef9ed36b09b664dcbc732e2ae2650944 (patch)
treecab47985a94ed95ae8d245a3fc31693eb80bbf09 /mk/bsd.pkg.mk
parent6e57510335b3be98edbb31bdd1b177ccce7f9e25 (diff)
downloadpkgsrc-080b575bef9ed36b09b664dcbc732e2ae2650944.tar.gz
If GNU_CONFIGURE is defined, then pass LIBS to the GNU configure script.
There are 40 packages in pkgsrc that do this.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk11
1 files changed, 8 insertions, 3 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 4945b3bdb1e..1784528fb6a 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.757 2001/06/12 13:17:01 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.758 2001/06/12 20:30:09 jlam Exp $
#
# This file is in the public domain.
#
@@ -227,18 +227,23 @@ DEPENDS+= gtexinfo-3.12:../../devel/gtexinfo
.if defined(USE_LIBINTL)
.if exists(/usr/include/libintl.h)
.if defined(GNU_CONFIGURE)
-CONFIGURE_ENV+= LIBS="${LIBS} -lintl"
+LIBS+= -lintl
.endif
.else
DEPENDS+= gettext-lib>=0.10.35nb1:../../devel/gettext-lib
.if defined(GNU_CONFIGURE)
CPPFLAGS+= -I${LOCALBASE}/include
-CONFIGURE_ENV+= LIBS="${LIBS} -L${LOCALBASE}/lib -lintl"
+LIBS+= -L${LOCALBASE}/lib -lintl
.endif
.endif
.endif
.endif
+# If GNU_CONFIGURE is defined, then pass LIBS to the GNU configure script.
+.if defined(GNU_CONFIGURE)
+CONFIGURE+= LIBS="${LIBS}"
+.endif
+
LIBTOOL_REQD= 1.4.20010219nb6
.if defined(USE_LIBTOOL)
LIBTOOL= ${LOCALBASE}/bin/libtool