summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/pyxml/Makefile6
-rw-r--r--textproc/xerces-c/Makefile6
2 files changed, 7 insertions, 5 deletions
diff --git a/textproc/pyxml/Makefile b/textproc/pyxml/Makefile
index 79c48dddbb9..b10c1e220da 100644
--- a/textproc/pyxml/Makefile
+++ b/textproc/pyxml/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2003/01/30 10:50:59 drochner Exp $
+# $NetBSD: Makefile,v 1.16 2003/03/14 19:37:56 jlam Exp $
#
DISTNAME= PyXML-0.8.2
@@ -17,7 +17,9 @@ PYDISTUTILSPKG= yes
PYBINMODULE= yes
BUILDLINK_DEPENDS.expat= expat>=1.95.6
PYSETUPBUILDARGS+= --with-libexpat=${BUILDLINK_DIR}
-PYSETUPBUILDARGS+= --ldflags=-Wl,-R${BUILDLINK_PREFIX.expat}/lib
+PYSETUPBUILDARGS+= --ldflags="${EXPAT_LDFLAGS}"
+EXPAT_LDFLAGS= -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.expat}/lib
+FIX_RPATH+= EXPAT_LDFLAGS
PYXML_SCRIPTS= scripts/xmlproc_parse \
scripts/xmlproc_val
diff --git a/textproc/xerces-c/Makefile b/textproc/xerces-c/Makefile
index 63060bcce42..ccdb9570d52 100644
--- a/textproc/xerces-c/Makefile
+++ b/textproc/xerces-c/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2002/10/30 09:46:42 seb Exp $
+# $NetBSD: Makefile,v 1.6 2003/03/14 19:37:57 jlam Exp $
#
DISTNAME= xerces-c-src1_3_0
@@ -26,8 +26,8 @@ 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
+LIBS= -L${ICUROOT}/lib -Wl,${RPATH_FLAG}${ICUROOT}/lib
+LIBS+= -L${ICUROOT}/lib/icu/current -Wl,${RPATH_FLAG}${ICUROOT}/lib/icu/current
CONFIGURE_ENV+= XERCESCROOT="${WRKDIR}/xerces-c-src1_3_0" \
ICUROOT=${ICUROOT} \