summaryrefslogtreecommitdiff
path: root/net-p2p/ktorrent2/Makefile
diff options
context:
space:
mode:
authorMarkus Brueffer <markus@FreeBSD.org>2006-08-21 16:59:22 +0000
committerMarkus Brueffer <markus@FreeBSD.org>2006-08-21 16:59:22 +0000
commite4c67dd8d9eb6a1e71f18ce7a1eb5752ecbb8c6f (patch)
tree50c6480b58e64acaf059dd83ae8e0aff5c0119c2 /net-p2p/ktorrent2/Makefile
parentFix dependency (diff)
- Update to version 2.0.1
- Mark BROKEN on 4.x [1] Submitted by: pointyhat via kris [1]
Notes
Notes: svn path=/head/; revision=171124
Diffstat (limited to 'net-p2p/ktorrent2/Makefile')
-rw-r--r--net-p2p/ktorrent2/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/net-p2p/ktorrent2/Makefile b/net-p2p/ktorrent2/Makefile
index 8fc08abb71a6..6e6b755e5591 100644
--- a/net-p2p/ktorrent2/Makefile
+++ b/net-p2p/ktorrent2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= ktorrent
-PORTVERSION= 2.0
+PORTVERSION= 2.0.1
CATEGORIES= net-p2p kde
MASTER_SITES= http://ktorrent.pwsp.net/downloads/${PORTVERSION}/
@@ -24,7 +24,11 @@ USE_GMAKE= yes
post-patch:
@${TOUCH} ${WRKSRC}/config.h.in
@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
- @${REINPLACE_CMD} -e 's|x-bittorrent.desktop||g' \
- ${WRKSRC}/apps/ktorrent/Makefile.in
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= Does not compile on FreeBSD 4.x
+.endif
+
+.include <bsd.port.post.mk>