diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2015-05-05 09:41:24 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2015-05-05 09:41:24 +0000 |
commit | 999e618eaee69b7fd236108b8f96ddf3ac349842 (patch) | |
tree | 4cda4917208147bcc10420b85ebcd4908362cbdf /sysutils/pftop | |
parent | 85dfbd0707b9b634c0685d63dd596135c9c44bc5 (diff) | |
download | ports-999e618eaee69b7fd236108b8f96ddf3ac349842.tar.gz ports-999e618eaee69b7fd236108b8f96ddf3ac349842.zip |
Notes
Diffstat (limited to 'sysutils/pftop')
-rw-r--r-- | sysutils/pftop/Makefile | 3 |
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 |