summaryrefslogtreecommitdiff
path: root/textproc/xmlrpc-c
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2007-02-26 21:03:12 +0000
committerwiz <wiz@pkgsrc.org>2007-02-26 21:03:12 +0000
commitfd102ec35788752a764a1337e4ab98c291ce56e2 (patch)
treee861eb44bbd7408ca2dd37c20ae8aab71af08314 /textproc/xmlrpc-c
parentc566dec5071b68fd59f418a0c4d88b6459a4db6a (diff)
downloadpkgsrc-fd102ec35788752a764a1337e4ab98c291ce56e2.tar.gz
Fix *-config script to include rpath. Bump PKGREVISION.
Diffstat (limited to 'textproc/xmlrpc-c')
-rw-r--r--textproc/xmlrpc-c/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/textproc/xmlrpc-c/Makefile b/textproc/xmlrpc-c/Makefile
index 7c91aa5e856..f216522056f 100644
--- a/textproc/xmlrpc-c/Makefile
+++ b/textproc/xmlrpc-c/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2007/02/26 14:56:30 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2007/02/26 21:03:12 wiz Exp $
#
DISTNAME= xmlrpc-c-1.09.00
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmlrpc-c/}
EXTRACT_SUFX= .tgz
@@ -21,7 +21,9 @@ SUBST_CLASSES+= pthread
SUBST_FILES.pthread= xmlrpc-c-config.in xmlrpc-c-config.test.in
PTHREAD_LINKFLAGS= ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
SUBST_SED.pthread= -e s/-lpthread/${PTHREAD_LINKFLAGS:Q}/
-SUBST_STAGE.pthread= post-patch
+SUBST_SED.pthread+= -e "s/-L\(.\)libdir/-L\1libdir ${COMPILER_RPATH_FLAG}\1libdir/"
+SUBST_STAGE.pthread= pre-configure
+SUBST_MESSAGE.pthread= Fixing config scripts.
.include "../../www/libwww/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"