From 6af0b719de5d3338e15930a8266f9af7d0c40914 Mon Sep 17 00:00:00 2001 From: Kevin Lo Date: Thu, 31 Dec 2015 08:51:18 +0000 Subject: Check OPSYS. This unbreaks DragonFly after last commit. Submitted by: marino --- net/hping-devel/Makefile | 2 +- net/hping/Makefile | 2 +- 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 -.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 -.if (${OSVERSION} >= 1100030) +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100030 EXTRA_PATCHES= ${FILESDIR}/extra-patch-sendip.c .endif -- cgit v1.2.3