aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2005-04-10 21:59:01 +0000
committerKris Kennaway <kris@FreeBSD.org>2005-04-10 21:59:01 +0000
commite5c163d1f9c4678cd48ef5201af7a6753ae8d792 (patch)
tree5fca1a16ad178c89ba20c021aacd924081b4be60 /net-mgmt
parent9522fb7f2bfa68164f74d0052ec14de8f3a73aaa (diff)
downloadports-e5c163d1f9c4678cd48ef5201af7a6753ae8d792.tar.gz
ports-e5c163d1f9c4678cd48ef5201af7a6753ae8d792.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/nfdump-devel/Makefile8
-rw-r--r--net-mgmt/nfdump/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/net-mgmt/nfdump-devel/Makefile b/net-mgmt/nfdump-devel/Makefile
index f3558406c027..e48aabf5a293 100644
--- a/net-mgmt/nfdump-devel/Makefile
+++ b/net-mgmt/nfdump-devel/Makefile
@@ -21,10 +21,16 @@ PLIST_FILES= bin/nfcapd bin/nfdump bin/nfprofile bin/nfreplay bin/nfclean.pl
MAN1= nfcapd.1 nfdump.1 nfprofile.1 nfreplay.1
PORTDOCS= AUTHORS ChangeLog INSTALL README
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= "Does not compile on FreeBSD 4.x"
+.endif
+
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net-mgmt/nfdump/Makefile b/net-mgmt/nfdump/Makefile
index f3558406c027..e48aabf5a293 100644
--- a/net-mgmt/nfdump/Makefile
+++ b/net-mgmt/nfdump/Makefile
@@ -21,10 +21,16 @@ PLIST_FILES= bin/nfcapd bin/nfdump bin/nfprofile bin/nfreplay bin/nfclean.pl
MAN1= nfcapd.1 nfdump.1 nfprofile.1 nfreplay.1
PORTDOCS= AUTHORS ChangeLog INSTALL README
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= "Does not compile on FreeBSD 4.x"
+.endif
+
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>