svn commit: r385453 - head/sysutils/pftop

Jan Beich jbeich at FreeBSD.org
Tue May 5 09:41:25 UTC 2015


Author: jbeich
Date: Tue May  5 09:41:24 2015
New Revision: 385453
URL: https://svnweb.freebsd.org/changeset/ports/385453

Log:
  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

Modified:
  head/sysutils/pftop/Makefile   (contents, props changed)

Modified: head/sysutils/pftop/Makefile
==============================================================================
--- head/sysutils/pftop/Makefile	Tue May  5 09:41:07 2015	(r385452)
+++ head/sysutils/pftop/Makefile	Tue May  5 09:41:24 2015	(r385453)
@@ -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


More information about the svn-ports-all mailing list