aboutsummaryrefslogtreecommitdiff
path: root/math/openblas
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2015-02-21 13:40:19 +0000
committerThomas Zander <riggs@FreeBSD.org>2015-02-21 13:40:19 +0000
commit1a48f62bbe4a714f64aa553cfb10694916c5e470 (patch)
tree90c3304f7fc3d0d7ec7eb47345b54f7d20a21dec /math/openblas
parent9fd093eb9ba84c90230e885b21847634c42b44cc (diff)
downloadports-1a48f62bbe4a714f64aa553cfb10694916c5e470.tar.gz
ports-1a48f62bbe4a714f64aa553cfb10694916c5e470.zip
Notes
Diffstat (limited to 'math/openblas')
-rw-r--r--math/openblas/Makefile4
-rw-r--r--math/openblas/files/patch-Makefile.system5
2 files changed, 4 insertions, 5 deletions
diff --git a/math/openblas/Makefile b/math/openblas/Makefile
index c53d73deb391..262994a27a0f 100644
--- a/math/openblas/Makefile
+++ b/math/openblas/Makefile
@@ -3,6 +3,7 @@
PORTNAME= openblas
PORTVERSION= 0.2.13
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= https://codeload.github.com/${GH_ACCOUNT}/${GH_PROJECT}/legacy.tar.gz/${GH_TAGNAME}?dummy=/:${PORTNAME} \
NL:lapack_tmg
@@ -24,7 +25,6 @@ LARGE_FILE= large.tgz
TIMING_FILE= timing.tgz
USES= fortran gmake perl5
-USE_GCC= yes
USE_LDCONFIG= yes
USE_PERL5= build
@@ -119,7 +119,7 @@ post-patch:
-e 's+%%FIND%%+${FIND}+' \
-e 's+%%XARGS%%+${XARGS}+' \
-e 's+%%REINPLACE_CMD%%+${REINPLACE_CMD}+' \
- -e 's+%%_GCC_RUNTIME%%+${_GCC_RUNTIME}+' \
+ -e 's+%%_GCC_VER%%+${_GCC_VER}+' \
-e 's+$$(CROSS_SUFFIX)+${LOCALBASE}/bin/+' \
${WRKSRC}/Makefile.system
.if ${PORT_OPTIONS:MOPENMP}
diff --git a/math/openblas/files/patch-Makefile.system b/math/openblas/files/patch-Makefile.system
index 733872f1b3f1..bc9546a3513e 100644
--- a/math/openblas/files/patch-Makefile.system
+++ b/math/openblas/files/patch-Makefile.system
@@ -1,12 +1,11 @@
--- Makefile.system.orig 2013-07-26 02:34:45.000000000 +0900
+++ Makefile.system 2013-07-27 01:22:51.000000000 +0900
-@@ -142,6 +142,9 @@
+@@ -142,6 +142,8 @@
endif
ifeq ($(OSNAME), FreeBSD)
+EXTRALIB += -lm
-+CCOMMON_OPT += -Wl,-rpath=%%_GCC_RUNTIME%%
-+FCOMMON_OPT += -Wl,-rpath=%%_GCC_RUNTIME%%
++FCOMMON_OPT += -Wl,-rpath=%%LOCALBASE%%/lib/gcc%%_GCC_VER%%
MD5SUM = md5 -r
endif