summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2008-04-10 22:09:29 +0000
committerPav Lucistnik <pav@FreeBSD.org>2008-04-10 22:09:29 +0000
commit9bdbc9e087c6e15d19b498278aa3fd2b46ac701e (patch)
tree2430612f58acc9c23a878aa7698db9272179fb57 /devel
parent- Update to 1.3.15 (diff)
- Fix build on FreeBSD 6.x and earlier: boost_thread needs explicit -pthread
- Move pkg-config files to where they belong Reported by: pointyhat
Notes
Notes: svn path=/head/; revision=211026
Diffstat (limited to 'devel')
-rw-r--r--devel/libiqxmlrpc/Makefile10
-rw-r--r--devel/libiqxmlrpc/pkg-plist6
2 files changed, 12 insertions, 4 deletions
diff --git a/devel/libiqxmlrpc/Makefile b/devel/libiqxmlrpc/Makefile
index 7ac81fc15a3e..de9def53a5ad 100644
--- a/devel/libiqxmlrpc/Makefile
+++ b/devel/libiqxmlrpc/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libiqxmlrpc
PORTVERSION= 0.8.7
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SF
@@ -20,7 +21,14 @@ GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+CONFIGURE_ENV= LIBS="${PTHREAD_LIBS}"
+.endif
+
post-patch:
@${REINPLACE_CMD} 's,libxml++-1.0,libxml++-2.6,g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} 's,{libdir}/pkgconfig,{prefix}/libdata/pkgconfig,' ${WRKSRC}/Makefile.in
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/libiqxmlrpc/pkg-plist b/devel/libiqxmlrpc/pkg-plist
index ff8c31c0a4b1..026efddd6de2 100644
--- a/devel/libiqxmlrpc/pkg-plist
+++ b/devel/libiqxmlrpc/pkg-plist
@@ -51,7 +51,7 @@ lib/libiqxmlrpc.a
lib/libiqxmlrpc.la
lib/libiqxmlrpc.so
lib/libiqxmlrpc.so.0
-lib/pkgconfig/libiqxmlrpc-client.pc
-lib/pkgconfig/libiqxmlrpc-server.pc
-lib/pkgconfig/libiqxmlrpc.pc
+libdata/pkgconfig/libiqxmlrpc-client.pc
+libdata/pkgconfig/libiqxmlrpc-server.pc
+libdata/pkgconfig/libiqxmlrpc.pc
@dirrm include/libiqxmlrpc