aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/apollon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/apollon/Makefile')
-rw-r--r--net-p2p/apollon/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-p2p/apollon/Makefile b/net-p2p/apollon/Makefile
index b858e7cf3fe8..22db96e18375 100644
--- a/net-p2p/apollon/Makefile
+++ b/net-p2p/apollon/Makefile
@@ -23,10 +23,16 @@ GNU_CONFIGURE= yes
USE_REINPLACE= yes
USE_LIBTOOL_VER=15
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= "Does not compile on FreeBSD 4.x"
+.endif
+
post-patch:
.ifdef(NOPORTDOCS)
@${REINPLACE_CMD} -E -e 's/^(all:)[[:space:]]+docs-am/\1/; s/^(SUBDIRS.+)doc/\1/' \
${WRKSRC}/Makefile.in
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>