aboutsummaryrefslogtreecommitdiff
path: root/math/openblas
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2014-02-23 01:06:16 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2014-02-23 01:06:16 +0000
commit90df749338e66aff5d81eb28d19812958646d46d (patch)
tree123fd263d13184f55d934464e8304b5f8f9e49b3 /math/openblas
parent421d89c84a033c02e2cf64cd4e2c6653104b848a (diff)
downloadports-90df749338e66aff5d81eb28d19812958646d46d.tar.gz
ports-90df749338e66aff5d81eb28d19812958646d46d.zip
Notes
Diffstat (limited to 'math/openblas')
-rw-r--r--math/openblas/Makefile2
-rw-r--r--math/openblas/files/patch-Makefile.system4
2 files changed, 3 insertions, 3 deletions
diff --git a/math/openblas/Makefile b/math/openblas/Makefile
index b014230c4aef..4841a4c327bb 100644
--- a/math/openblas/Makefile
+++ b/math/openblas/Makefile
@@ -121,7 +121,7 @@ post-patch:
-e 's+%%FIND%%+${FIND}+' \
-e 's+%%XARGS%%+${XARGS}+' \
-e 's+%%REINPLACE_CMD%%+${REINPLACE_CMD}+' \
- -e 's+%%_GCC_BUILD_DEPENDS%%+${_GCC_BUILD_DEPENDS}+' \
+ -e 's+%%_GCC_RUNTIME%%+${_GCC_RUNTIME}+' \
-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 1410083327e3..733872f1b3f1 100644
--- a/math/openblas/files/patch-Makefile.system
+++ b/math/openblas/files/patch-Makefile.system
@@ -5,8 +5,8 @@
ifeq ($(OSNAME), FreeBSD)
+EXTRALIB += -lm
-+CCOMMON_OPT += -Wl,-rpath=%%LOCALBASE%%/lib/%%_GCC_BUILD_DEPENDS%%
-+FCOMMON_OPT += -Wl,-rpath=%%LOCALBASE%%/lib/%%_GCC_BUILD_DEPENDS%%
++CCOMMON_OPT += -Wl,-rpath=%%_GCC_RUNTIME%%
++FCOMMON_OPT += -Wl,-rpath=%%_GCC_RUNTIME%%
MD5SUM = md5 -r
endif