Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Oct 2016 05:29:22 +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: r424096 - head/editors/mg
Message-ID:  <201610170529.u9H5TMEt063421@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Mon Oct 17 05:29:22 2016
New Revision: 424096
URL: https://svnweb.freebsd.org/changeset/ports/424096

Log:
  editors/mg: Use OPSYS with OSVERSION (restores DF build)
  
  DragonFly doesn't provided reallocarray.  OPSYS should be used with
  OSVERSION (covered by a blanket)

Modified:
  head/editors/mg/Makefile

Modified: head/editors/mg/Makefile
==============================================================================
--- head/editors/mg/Makefile	Mon Oct 17 05:16:49 2016	(r424095)
+++ head/editors/mg/Makefile	Mon Oct 17 05:29:22 2016	(r424096)
@@ -19,11 +19,11 @@ OPTIONS_DEFINE=	DOCS
 
 .include <bsd.port.options.mk>
 
-.if ${OSVERSION} < 1002506
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1002506
 BROKEN=	does not build, requires futimens system call
 .endif
 
-.if ${OSVERSION} >= 1002506 && ${OSVERSION} < 1100072
+.if ${OPSYS} != FreeBSD || (${OSVERSION} >= 1002506 && ${OSVERSION} < 1100072)
 EXTRA_PATCHES=	${FILESDIR}/extra-patch-def.h
 
 post-patch:



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