From 080b575bef9ed36b09b664dcbc732e2ae2650944 Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 12 Jun 2001 20:30:09 +0000 Subject: If GNU_CONFIGURE is defined, then pass LIBS to the GNU configure script. There are 40 packages in pkgsrc that do this. --- mk/bsd.pkg.mk | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'mk') 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 -- cgit v1.2.3