1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Fix build on FreeBSD 6.x and earlier: boost_thread needs explicit -pthread

- Move pkg-config files to where they belong

Reported by:	pointyhat
This commit is contained in:
Pav Lucistnik 2008-04-10 22:09:29 +00:00
parent 4f480da515
commit 9bdbc9e087
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=211026
2 changed files with 12 additions and 4 deletions

View File

@ -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>

View File

@ -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