aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/libtorrent-rasterbar-14/Makefile8
-rw-r--r--net-p2p/rblibtorrent-devel/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/net-p2p/libtorrent-rasterbar-14/Makefile b/net-p2p/libtorrent-rasterbar-14/Makefile
index 815b4b861ab7..f0a2f81f922c 100644
--- a/net-p2p/libtorrent-rasterbar-14/Makefile
+++ b/net-p2p/libtorrent-rasterbar-14/Makefile
@@ -27,8 +27,14 @@ CONFLICTS= libtorrent-[0-9]* \
libtorrent-devel-[0-9]* \
rblibtorrent-[0-9]*
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 600000
+BROKEN= does not build on FreeBSD 5.x
+.endif
+
post-install:
@cd ${PREFIX}/lib && ${MV} libtorrent-0.13.so libtorrent.so.1 && \
${LN} -sf libtorrent.so.1 libtorrent.so
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net-p2p/rblibtorrent-devel/Makefile b/net-p2p/rblibtorrent-devel/Makefile
index 815b4b861ab7..f0a2f81f922c 100644
--- a/net-p2p/rblibtorrent-devel/Makefile
+++ b/net-p2p/rblibtorrent-devel/Makefile
@@ -27,8 +27,14 @@ CONFLICTS= libtorrent-[0-9]* \
libtorrent-devel-[0-9]* \
rblibtorrent-[0-9]*
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 600000
+BROKEN= does not build on FreeBSD 5.x
+.endif
+
post-install:
@cd ${PREFIX}/lib && ${MV} libtorrent-0.13.so libtorrent.so.1 && \
${LN} -sf libtorrent.so.1 libtorrent.so
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>