diff options
-rw-r--r-- | devel/libiqxmlrpc/Makefile | 10 | ||||
-rw-r--r-- | devel/libiqxmlrpc/pkg-plist | 6 |
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 |