aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/libtorrent-rasterbar-14
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2010-01-20 17:33:21 +0000
committerPav Lucistnik <pav@FreeBSD.org>2010-01-20 17:33:21 +0000
commita0fbb415da683c928afe0ddd53d836de1ef375a8 (patch)
tree550fd815b0d057379621280b59fe3cdea4420c9e /net-p2p/libtorrent-rasterbar-14
parent8903e5155adf00e9e1fda64910263d5f673d2f57 (diff)
downloadports-a0fbb415da683c928afe0ddd53d836de1ef375a8.tar.gz
ports-a0fbb415da683c928afe0ddd53d836de1ef375a8.zip
Notes
Diffstat (limited to 'net-p2p/libtorrent-rasterbar-14')
-rw-r--r--net-p2p/libtorrent-rasterbar-14/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-p2p/libtorrent-rasterbar-14/Makefile b/net-p2p/libtorrent-rasterbar-14/Makefile
index 8ffb7968ba19..df698da0cbf1 100644
--- a/net-p2p/libtorrent-rasterbar-14/Makefile
+++ b/net-p2p/libtorrent-rasterbar-14/Makefile
@@ -38,10 +38,16 @@ USE_LDCONFIG= yes
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+BROKEN= does not compile on 6.x
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|libdir)/pkgconfig|prefix)/libdata/pkgconfig|g' \
${WRKSRC}/Makefile.am
@${REINPLACE_CMD} -e 's|^AM_CFLAGS|AM_CPPFLAGS|g ; \
s|@BOOST_SYSTEM_LIB@||g' ${WRKSRC}/src/Makefile.am
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>