svn commit: r424096 - head/editors/mg

John Marino marino at FreeBSD.org
Mon Oct 17 05:29:23 UTC 2016


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:


More information about the svn-ports-head mailing list