svn commit: r404915 - in head/net: hping hping-devel

Kevin Lo kevlo at FreeBSD.org
Thu Dec 31 08:51:20 UTC 2015


Author: kevlo
Date: Thu Dec 31 08:51:18 2015
New Revision: 404915
URL: https://svnweb.freebsd.org/changeset/ports/404915

Log:
  Check OPSYS.  This unbreaks DragonFly after last commit.
  
  Submitted by:	marino

Modified:
  head/net/hping-devel/Makefile
  head/net/hping/Makefile

Modified: head/net/hping-devel/Makefile
==============================================================================
--- head/net/hping-devel/Makefile	Thu Dec 31 08:35:46 2015	(r404914)
+++ head/net/hping-devel/Makefile	Thu Dec 31 08:51:18 2015	(r404915)
@@ -31,7 +31,7 @@ PORTEXAMPLES=	README apd.htcl apd2.htcl 
 
 .include <bsd.port.pre.mk>
 
-.if (${OSVERSION} >= 1100030)
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100030
 EXTRA_PATCHES=	${FILESDIR}/extra-patch-sendip.c
 .endif
 

Modified: head/net/hping/Makefile
==============================================================================
--- head/net/hping/Makefile	Thu Dec 31 08:35:46 2015	(r404914)
+++ head/net/hping/Makefile	Thu Dec 31 08:51:18 2015	(r404915)
@@ -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
 


More information about the svn-ports-all mailing list