diff options
author | wiz <wiz@pkgsrc.org> | 2001-01-04 14:17:54 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-01-04 14:17:54 +0000 |
commit | 2625fd3bcb3cce39fa2d495e85e04fd39f05dca7 (patch) | |
tree | c65413bc2c8d68329f554b54540beaabf3b15ab0 /mk | |
parent | 09b1c80876d2b65c79b0c39323b1b74ea6fb6e92 (diff) | |
download | pkgsrc-2625fd3bcb3cce39fa2d495e85e04fd39f05dca7.tar.gz |
Don't ignore previously set ${LIBS} in USE_LIBINTL case.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 6 |
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 |