Date: Mon, 11 May 2015 11:22:49 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r386066 - head/sysutils/pfstat Message-ID: <201505111122.t4BBMnSu091996@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk> + 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 <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505111122.t4BBMnSu091996>