summaryrefslogtreecommitdiff
path: root/textproc/xerces-c
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-06-12 20:33:00 +0000
committerjlam <jlam@pkgsrc.org>2001-06-12 20:33:00 +0000
commit328a35f96fe7ec11093e3847c0943eb3a41f2b51 (patch)
tree154e7feac1d9bd8853bbdc9b7ffa45c13b83f32f /textproc/xerces-c
parent8848ee6991e29c3c0d97e1c89906ee2b34645484 (diff)
downloadpkgsrc-328a35f96fe7ec11093e3847c0943eb3a41f2b51.tar.gz
LIBS is automatically added to CONFIGURE_ENV by bsd.pkg.mk if
GNU_CONFIGURE is defined, so simply set LIBS to the appropriate value.
Diffstat (limited to 'textproc/xerces-c')
-rw-r--r--textproc/xerces-c/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/textproc/xerces-c/Makefile b/textproc/xerces-c/Makefile
index 89408f92dff..444705546f6 100644
--- a/textproc/xerces-c/Makefile
+++ b/textproc/xerces-c/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2001/02/17 17:37:57 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2001/06/12 20:33:08 jlam Exp $
#
DISTNAME= xerces-c-src1_3_0
@@ -27,19 +27,18 @@ FLAGS+= -O2 -I${ICUROOT}/include \
CFLAGS+= ${FLAGS}
CXXFLAGS+= ${FLAGS}
-
+LIBS= -L${ICUROOT}/lib -Wl,-R${ICUROOT}/lib
+LIBS+= -L${ICUROOT}/lib/icu/current -Wl,-R${ICUROOT}/lib/icu/current
+
CONFIGURE_ENV+= XERCESCROOT="${WRKDIR}/xerces-c-src1_3_0" \
ICUROOT=${ICUROOT} \
NETACCESSOR=Socket \
- TRANSCODER=ICU \
- LIBS="-L${ICUROOT}/lib -Wl,-R${ICUROOT}/lib -L${ICUROOT}/lib/icu/current -Wl,-R${ICUROOT}/lib/icu/current"
+ TRANSCODER=ICU
MAKE_ENV+= XERCESCROOT="${WRKDIR}/xerces-c-src1_3_0" \
ICUROOT="${LOCALBASE}" \
NETACCESSOR=Socket \
TRANSCODER=ICU \
- CFLAGS="${CFLAGS}" \
- CXXFLAGS="${CXXFLAGS}"
post-extract:
${MKDIR} ${WRKSRC}/util/Platforms/NetBSD