diff options
author | riggs <riggs@FreeBSD.org> | 2014-09-15 22:53:12 +0800 |
---|---|---|
committer | riggs <riggs@FreeBSD.org> | 2014-09-15 22:53:12 +0800 |
commit | 3fcae27c0625ba804d0a36b66f47732c19597cab (patch) | |
tree | 318adb0a2303c020f094bf122d6fdcc1c23bf804 /math/gotoblas | |
parent | 30b2c4cefb81eb10b3cc629e4b522833959b00b9 (diff) | |
download | freebsd-ports-gnome-3fcae27c0625ba804d0a36b66f47732c19597cab.tar.gz freebsd-ports-gnome-3fcae27c0625ba804d0a36b66f47732c19597cab.tar.zst freebsd-ports-gnome-3fcae27c0625ba804d0a36b66f47732c19597cab.zip |
- 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)
Diffstat (limited to 'math/gotoblas')
-rw-r--r-- | math/gotoblas/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/math/gotoblas/Makefile b/math/gotoblas/Makefile index 8c11c990fc4f..3f7d382ae43f 100644 --- a/math/gotoblas/Makefile +++ b/math/gotoblas/Makefile @@ -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} == "" |