Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Nov 2015 18:52:39 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r400708 - head/devel/libdap
Message-ID:  <201511031852.tA3IqdbY040238@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511031852.tA3IqdbY040238>