Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 May 2015 09:41:25 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r385453 - head/sysutils/pftop
Message-ID:  <201505050941.t459fPLI070784@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505050941.t459fPLI070784>