diff options
author | jlam <jlam> | 2001-06-12 20:30:09 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-06-12 20:30:09 +0000 |
commit | 922b2021ce419c500817dc9b7bec08dac0dbbfa2 (patch) | |
tree | cab47985a94ed95ae8d245a3fc31693eb80bbf09 | |
parent | 484b3839a753796da1c85e3804a1a10e84f44016 (diff) | |
download | pkgsrc-922b2021ce419c500817dc9b7bec08dac0dbbfa2.tar.gz |
If GNU_CONFIGURE is defined, then pass LIBS to the GNU configure script.
There are 40 packages in pkgsrc that do this.
-rw-r--r-- | mk/bsd.pkg.mk | 11 |
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 |