summaryrefslogtreecommitdiff
path: root/math/openblas/files/patch-Makefile.system
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/files/patch-Makefile.system
parent- Update the diff to fix building on Sparc and ARM platforms (diff)
Replace the manual construction of references to the runtime path of
the version of GCC we are using by _GCC_RUNTIME. Approved by: Eijiro Shibusawa <phd_kimberlite@yahoo.co.jp> (maintainer)
Diffstat (limited to 'math/openblas/files/patch-Makefile.system')
-rw-r--r--math/openblas/files/patch-Makefile.system4
1 files changed, 2 insertions, 2 deletions
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