diff options
author | jlam <jlam> | 2001-06-12 20:30:09 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-06-12 20:30:09 +0000 |
commit | 080b575bef9ed36b09b664dcbc732e2ae2650944 (patch) | |
tree | cab47985a94ed95ae8d245a3fc31693eb80bbf09 /mk/bsd.pkg.mk | |
parent | 6e57510335b3be98edbb31bdd1b177ccce7f9e25 (diff) | |
download | pkgsrc-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.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 |