From owner-svn-ports-all@freebsd.org Wed Aug 3 15:15:04 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 04FD3BAE892; Wed, 3 Aug 2016 15:15:04 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C91421909; Wed, 3 Aug 2016 15:15:03 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u73FF3l3037238; Wed, 3 Aug 2016 15:15:03 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u73FF20j037237; Wed, 3 Aug 2016 15:15:03 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201608031515.u73FF20j037237@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Wed, 3 Aug 2016 15:15:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r419530 - head/math/R X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2016 15:15:04 -0000 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 +.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