From owner-svn-ports-head@FreeBSD.ORG Mon May 11 11:22:49 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 53CE0197; Mon, 11 May 2015 11:22:49 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 421111355; Mon, 11 May 2015 11:22:49 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t4BBMnHx091997; Mon, 11 May 2015 11:22:49 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t4BBMnSu091996; Mon, 11 May 2015 11:22:49 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201505111122.t4BBMnSu091996@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Mon, 11 May 2015 11:22:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r386066 - head/sysutils/pfstat X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 May 2015 11:22:49 -0000 Author: antoine Date: Mon May 11 11:22:48 2015 New Revision: 386066 URL: https://svnweb.freebsd.org/changeset/ports/386066 Log: Fix build on head Reported by: pkg-fallout Modified: head/sysutils/pfstat/Makefile Modified: head/sysutils/pfstat/Makefile ============================================================================== --- head/sysutils/pfstat/Makefile Mon May 11 10:54:29 2015 (r386065) +++ head/sysutils/pfstat/Makefile Mon May 11 11:22:48 2015 (r386066) @@ -23,11 +23,16 @@ PLIST_FILES= bin/pfstat \ man/man8/pfstat.8.gz \ man/man8/pfstatd.8.gz +.include + post-patch: @${REINPLACE_CMD} -e 's|-lgd|-l$${LD_GD}|; s| -lttf||' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" \ ${WRKSRC}/pfstat.[c8] +.if ${OSVERSION} >= 1100070 + @${REINPLACE_CMD} 's|altq/|net/&|' ${WRKSRC}/pf.c +.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pfstat ${STAGEDIR}/${PREFIX}/bin @@ -35,4 +40,4 @@ do-install: ${INSTALL_MAN} ${WRKSRC}/pfstat.8 ${STAGEDIR}/${PREFIX}/man/man8 ${INSTALL_MAN} ${WRKSRC}/pfstatd/pfstatd.8 ${STAGEDIR}/${PREFIX}/man/man8 -.include +.include