Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2014 05:59:07 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368295 - head/math/gotoblas
Message-ID:  <201409160559.s8G5x7Vg056267@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Tue Sep 16 05:59:07 2014
New Revision: 368295
URL: http://svnweb.freebsd.org/changeset/ports/368295
QAT: https://qat.redports.org/buildarchive/r368295/

Log:
  - Remove unnecessary ${ARCH} wrappers around OPTIONS_DEFAULT_{i386|amd64}
  
  PR:		161359
  Pointed out by:	jhale

Modified:
  head/math/gotoblas/Makefile

Modified: head/math/gotoblas/Makefile
==============================================================================
--- head/math/gotoblas/Makefile	Tue Sep 16 05:53:10 2014	(r368294)
+++ head/math/gotoblas/Makefile	Tue Sep 16 05:59:07 2014	(r368295)
@@ -42,6 +42,10 @@ MAKE_JOBS_UNSAFE=	yes
 OPTIONS_DEFINE_i386=	DYNAMIC_ARCH
 OPTIONS_DEFINE_amd64=	DYNAMIC_ARCH
 OPTIONS_DEFINE=	INTERFACE64 OPENMP
+
+OPTIONS_DEFAULT_i386=	DYNAMIC_ARCH
+OPTIONS_DEFAULT_amd64=	DYNAMIC_ARCH
+
 DYNAMIC_ARCH_DESC=	Support multiple CPU types on i386 and amd64
 INTERFACE64_DESC=	Use 8 byte integers on 64-bit architectures
 OPENMP_DESC=		Use OpenMP for threading
@@ -49,12 +53,6 @@ OPENMP_DESC=		Use OpenMP for threading
 
 .include <bsd.port.options.mk>
 
-.if ${ARCH} == "i386"
-OPTIONS_DEFAULT_i386=	DYNAMIC_ARCH
-.elif ${ARCH} == "amd64"
-OPTIONS_DEFAULT_amd64=	DYNAMIC_ARCH
-.endif
-
 MAXTHREADS?=	8
 
 .if ${ARCH:M*64} == ""



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