summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorwiz <wiz>2001-01-04 14:17:54 +0000
committerwiz <wiz>2001-01-04 14:17:54 +0000
commitd93f8d9ca6fb985677271e228235c5a1084a4637 (patch)
treec65413bc2c8d68329f554b54540beaabf3b15ab0 /mk
parent0baa301e5d7439058de958fc03fa403842e8e277 (diff)
downloadpkgsrc-d93f8d9ca6fb985677271e228235c5a1084a4637.tar.gz
Don't ignore previously set ${LIBS} in USE_LIBINTL case.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 31b38748b76..1cc36dace62 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.632 2000/12/31 12:21:07 skrll Exp $
+# $NetBSD: bsd.pkg.mk,v 1.633 2001/01/04 14:17:54 wiz Exp $
#
# This file is in the public domain.
#
@@ -206,14 +206,14 @@ DEPENDS+= gtexinfo-3.12:../../devel/gtexinfo
.if defined(USE_LIBINTL)
.if exists(/usr/include/libintl.h)
.if defined(GNU_CONFIGURE)
-CONFIGURE_ENV+= LIBS="-lintl"
+CONFIGURE_ENV+= LIBS="${LIBS} -lintl"
.endif
.else
DEPENDS+= gettext-lib>=0.10.35nb1:../../devel/gettext-lib
.if defined(GNU_CONFIGURE)
CPPFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
-CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib -lintl"
+CONFIGURE_ENV+= LIBS="${LIBS} -L${LOCALBASE}/lib -lintl"
.endif
.endif
.endif