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
commit5654e27f538609877364670face57e8d5321b703 (patch)
treec65413bc2c8d68329f554b54540beaabf3b15ab0 /mk
parentf01fa9a6fcdf57747296f15e05adbab8e28db8d3 (diff)
downloadpkgsrc-5654e27f538609877364670face57e8d5321b703.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