diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2015-12-31 06:18:46 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2015-12-31 06:18:46 +0000 |
commit | 6ce7c72d01782000ce3236fa25ace2cdc7ad4a79 (patch) | |
tree | 51080604bb0552caf32d7c6fd721337f577127f5 /net/hping-devel | |
parent | 8c2de626c3ad26103d23cb344bba0627237ead5f (diff) | |
download | ports-6ce7c72d01782000ce3236fa25ace2cdc7ad4a79.tar.gz ports-6ce7c72d01782000ce3236fa25ace2cdc7ad4a79.zip |
Notes
Diffstat (limited to 'net/hping-devel')
-rw-r--r-- | net/hping-devel/Makefile | 8 | ||||
-rw-r--r-- | net/hping-devel/files/extra-patch-sendip.c (renamed from net/hping-devel/files/patch-sendip.c) | 0 |
2 files changed, 7 insertions, 1 deletions
diff --git a/net/hping-devel/Makefile b/net/hping-devel/Makefile index fb98eec711dc..c53e7804c51c 100644 --- a/net/hping-devel/Makefile +++ b/net/hping-devel/Makefile @@ -29,6 +29,12 @@ PORTEXAMPLES= README apd.htcl apd2.htcl ciscoios.htcl ciscoios0.htcl \ passivets.htcl ping.htcl raw.htcl show-tcpseq.htcl \ showled.htcl +.include <bsd.port.pre.mk> + +.if (${OSVERSION} >= 1100030) +EXTRA_PATCHES= ${FILESDIR}/extra-patch-sendip.c +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/hping3 ${STAGEDIR}${PREFIX}/sbin/hping ${INSTALL_MAN} ${WRKSRC}/docs/hping3.8 ${STAGEDIR}${PREFIX}/man/man8/hping.8 @@ -43,4 +49,4 @@ do-install: .endfor ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/lib/|} ${STAGEDIR}${EXAMPLESDIR} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/net/hping-devel/files/patch-sendip.c b/net/hping-devel/files/extra-patch-sendip.c index 872861983e5a..872861983e5a 100644 --- a/net/hping-devel/files/patch-sendip.c +++ b/net/hping-devel/files/extra-patch-sendip.c |