Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Sep 2014 14:53:13 +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: r368267 - head/math/gotoblas
Message-ID:  <201409151453.s8FErDCV032464@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Mon Sep 15 14:53:12 2014
New Revision: 368267
URL: http://svnweb.freebsd.org/changeset/ports/368267
QAT: https://qat.redports.org/buildarchive/r368267/

Log:
  - Use DYNAMIC_ARCH on i386 and amd64 by default
  - Bump PORTREVISION
  
  PR:		161359
  Submitted by:	phd_kimberlite@yahoo.co.jp
  Patch by:	cpm@fbsd.es (maintainer)

Modified:
  head/math/gotoblas/Makefile

Modified: head/math/gotoblas/Makefile
==============================================================================
--- head/math/gotoblas/Makefile	Mon Sep 15 14:51:35 2014	(r368266)
+++ head/math/gotoblas/Makefile	Mon Sep 15 14:53:12 2014	(r368267)
@@ -3,7 +3,7 @@
 
 PORTNAME=	gotoblas
 PORTVERSION=	2.${GOTOBLAS2VER}.${LAPACKVER}
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	math
 MASTER_SITES=	${MASTER_SITE_LOCAL:S|%SUBDIR%|maho/gotoblas|} \
 		NL:lapack,lapack_tmg
@@ -39,11 +39,6 @@ SUB_FILES=	pkg-message
 SUB_LIST=	MAXTHREADS=${MAXTHREADS}
 MAKE_JOBS_UNSAFE=	yes
 
-.if defined(PACKAGE_BUILDING)
-OPTIONS_DEFAULT_i386=	DYNAMIC_ARCH
-OPTIONS_DEFAULT_amd64=	DYNAMIC_ARCH
-.endif
-
 OPTIONS_DEFINE_i386=	DYNAMIC_ARCH
 OPTIONS_DEFINE_amd64=	DYNAMIC_ARCH
 OPTIONS_DEFINE=	INTERFACE64 OPENMP
@@ -54,6 +49,12 @@ 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?201409151453.s8FErDCV032464>