aboutsummaryrefslogtreecommitdiff
path: root/sysutils/pftop
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2015-05-05 09:41:24 +0000
committerJan Beich <jbeich@FreeBSD.org>2015-05-05 09:41:24 +0000
commit999e618eaee69b7fd236108b8f96ddf3ac349842 (patch)
tree4cda4917208147bcc10420b85ebcd4908362cbdf /sysutils/pftop
parent85dfbd0707b9b634c0685d63dd596135c9c44bc5 (diff)
downloadports-999e618eaee69b7fd236108b8f96ddf3ac349842.tar.gz
ports-999e618eaee69b7fd236108b8f96ddf3ac349842.zip
sysutils/pftop: unbreak build on 11.0C
pftop.c:47:10: fatal error: 'altq/altq.h' file not found #include <altq/altq.h> ^ 1 error generate Reported by: pkg-fallout Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=385453
Diffstat (limited to 'sysutils/pftop')
-rw-r--r--sysutils/pftop/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysutils/pftop/Makefile b/sysutils/pftop/Makefile
index e50c56b89993..af01ae3617ff 100644
--- a/sysutils/pftop/Makefile
+++ b/sysutils/pftop/Makefile
@@ -47,6 +47,9 @@ post-patch:
@${REINPLACE_CMD} -e 's|__dead|__dead2|g' ${WRKSRC}/sf-gencode.c
@${REINPLACE_CMD} -e 's|#include <net/if_pflog.h>||g' \
${WRKSRC}/sf-gencode.c
+.if ${OPSYS} == DragonFly || ${OSVERSION} >= 1100070
+ @${REINPLACE_CMD} -e 's|altq/|net/&|' ${WRKSRC}/pftop.c
+.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pftop ${STAGEDIR}${PREFIX}/sbin