diff options
author | gerald <gerald@FreeBSD.org> | 2014-02-23 09:06:16 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2014-02-23 09:06:16 +0800 |
commit | 718a2e807a5dcf3f5b45cb6048374672599a961a (patch) | |
tree | 123fd263d13184f55d934464e8304b5f8f9e49b3 /math/openblas | |
parent | d52dbd8f6f0d1105737433aec5effa66bd38249f (diff) | |
download | freebsd-ports-gnome-718a2e807a5dcf3f5b45cb6048374672599a961a.tar.gz freebsd-ports-gnome-718a2e807a5dcf3f5b45cb6048374672599a961a.tar.zst freebsd-ports-gnome-718a2e807a5dcf3f5b45cb6048374672599a961a.zip |
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')
-rw-r--r-- | math/openblas/Makefile | 2 | ||||
-rw-r--r-- | math/openblas/files/patch-Makefile.system | 4 |
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 |