svn commit: r400708 - head/devel/libdap

John Marino marino at FreeBSD.org
Tue Nov 3 18:52:40 UTC 2015


Author: marino
Date: Tue Nov  3 18:52:39 2015
New Revision: 400708
URL: https://svnweb.freebsd.org/changeset/ports/400708

Log:
  devel/libdap: Unbreak build on DragonFly after r400253
  
  OSVERSION checks need to be validated by checking OPSYS, especially
  with the ">" comparison.  In this case, the extra patch got applied
  to all releases of DragonFly unconditionally, breaking the build.
  
  Approved by:	blanket for OSVERSION usage

Modified:
  head/devel/libdap/Makefile

Modified: head/devel/libdap/Makefile
==============================================================================
--- head/devel/libdap/Makefile	Tue Nov  3 18:33:57 2015	(r400707)
+++ head/devel/libdap/Makefile	Tue Nov  3 18:52:39 2015	(r400708)
@@ -24,7 +24,7 @@ USES=		bison charsetfix gmake libtool lo
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} >= 1100000
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000
 EXTRA_PATCHES+=	${FILESDIR}/extra-patch-dds.yy
 .endif
 


More information about the svn-ports-all mailing list