aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2015-12-31 16:51:18 +0800
committerkevlo <kevlo@FreeBSD.org>2015-12-31 16:51:18 +0800
commit43b0cf980cd961096b307b8143f70c74dea45499 (patch)
treed79b3413dd1204efcc9881ef79dcc4a921a558b1 /net
parent360ce7f9e32864f5e482be8b659dd57e5ba3160f (diff)
downloadfreebsd-ports-gnome-43b0cf980cd961096b307b8143f70c74dea45499.tar.gz
freebsd-ports-gnome-43b0cf980cd961096b307b8143f70c74dea45499.tar.zst
freebsd-ports-gnome-43b0cf980cd961096b307b8143f70c74dea45499.zip
Check OPSYS. This unbreaks DragonFly after last commit.
Submitted by: marino
Diffstat (limited to 'net')
-rw-r--r--net/hping-devel/Makefile2
-rw-r--r--net/hping/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/hping-devel/Makefile b/net/hping-devel/Makefile
index c53e7804c51c..0c5410ecbec4 100644
--- a/net/hping-devel/Makefile
+++ b/net/hping-devel/Makefile
@@ -31,7 +31,7 @@ PORTEXAMPLES= README apd.htcl apd2.htcl ciscoios.htcl ciscoios0.htcl \
.include <bsd.port.pre.mk>
-.if (${OSVERSION} >= 1100030)
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100030
EXTRA_PATCHES= ${FILESDIR}/extra-patch-sendip.c
.endif
diff --git a/net/hping/Makefile b/net/hping/Makefile
index 67abd35b0209..95eb888a642b 100644
--- a/net/hping/Makefile
+++ b/net/hping/Makefile
@@ -29,7 +29,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
-.if (${OSVERSION} >= 1100030)
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100030
EXTRA_PATCHES= ${FILESDIR}/extra-patch-sendip.c
.endif