Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Aug 2016 15:15:02 +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: r419530 - head/math/R
Message-ID:  <201608031515.u73FF20j037237@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Wed Aug  3 15:15:02 2016
New Revision: 419530
URL: https://svnweb.freebsd.org/changeset/ports/419530

Log:
  math/R: Fix usage of ${OSVERSION} without ${OPSYS}
  
  There are several OSVERSION checks but everything is specific to FreeBSD
  so the entire block is wrapped with a single OPSYS check to minimize
  changes to the makefile.
  
  Approved by:	OSVERSION/OPSYS blanket

Modified:
  head/math/R/Makefile

Modified: head/math/R/Makefile
==============================================================================
--- head/math/R/Makefile	Wed Aug  3 14:57:50 2016	(r419529)
+++ head/math/R/Makefile	Wed Aug  3 15:15:02 2016	(r419530)
@@ -163,6 +163,7 @@ PLIST_SUB=		R_SOVERSION="${R_SOVERSION}"
 .include "compiler.mk"
 .include <bsd.port.options.mk>
 
+.if ${OPSYS} == FreeBSD
 .if ${OSVERSION} > 1000052 && \
 (${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH} == ia64 || ${ARCH} == pc98 || \
 ${ARCH} == sparc64)
@@ -222,6 +223,7 @@ pre-configure:
 		compiler and architecture: please enable the MISSING option."; \
 	fi
 .endif
+.endif  # ${OPSYS} == FreeBSD
 
 post-install:
 .for L in R Rblas Rlapack



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