diff options
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/nfdump-devel/Makefile | 8 | ||||
-rw-r--r-- | net-mgmt/nfdump/Makefile | 8 |
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> |