diff options
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 |