summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/gotoblas/Makefile3
-rw-r--r--math/gotoblas/files/patch-Makefile.system2
2 files changed, 2 insertions, 3 deletions
diff --git a/math/gotoblas/Makefile b/math/gotoblas/Makefile
index f05bf1086268..3dfcc4adcb56 100644
--- a/math/gotoblas/Makefile
+++ b/math/gotoblas/Makefile
@@ -109,8 +109,7 @@ post-patch:
${WRKSRC}/lapack/laswp/Makefile \
${WRKSRC}/reference/Makefile
${REINPLACE_CMD} -e "s+(ARCH)+(ARCH_)+" \
- -e 's+%%LOCALBASE%%+${LOCALBASE}+' \
- -e 's+%%_GCC_BUILD_DEPENDS%%+${_GCC_BUILD_DEPENDS}+' \
+ -e 's+%%_GCC_RUNTIME%%+${_GCC_RUNTIME}+' \
-e 's+$$(CROSS_SUFFIX)+${LOCALBASE}/bin/+' \
${WRKSRC}/Makefile.system
.if defined(WITH_OPENMP)
diff --git a/math/gotoblas/files/patch-Makefile.system b/math/gotoblas/files/patch-Makefile.system
index 78bc14535705..8537dc55a37d 100644
--- a/math/gotoblas/files/patch-Makefile.system
+++ b/math/gotoblas/files/patch-Makefile.system
@@ -6,7 +6,7 @@
+ifeq ($(OSNAME), FreeBSD)
+EXTRALIB += -lm
-+FCOMMON_OPT += -Wl,-rpath=%%LOCALBASE%%/lib/%%_GCC_BUILD_DEPENDS%%
++FCOMMON_OPT += -Wl,-rpath=%%_GCC_RUNTIME%%
+endif
+
ifeq ($(OSNAME), AIX)