aboutsummaryrefslogtreecommitdiffstats
path: root/math/gotoblas/Makefile
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2011-10-06 16:45:15 +0800
committermaho <maho@FreeBSD.org>2011-10-06 16:45:15 +0800
commit396ab079c9a1083c49d337beff8338b19506d861 (patch)
tree744a89ba0df8d3bd6dcbce9cd25ce41cbe1f9004 /math/gotoblas/Makefile
parentfd0d65181c45d1ff458253f7166377371cbd5b1b (diff)
downloadfreebsd-ports-gnome-396ab079c9a1083c49d337beff8338b19506d861.tar.gz
freebsd-ports-gnome-396ab079c9a1083c49d337beff8338b19506d861.tar.zst
freebsd-ports-gnome-396ab079c9a1083c49d337beff8338b19506d861.zip
Fix build when gcc other than gcc46 exists.
PR: 161273 Submitted by: Oliver Hartmann <ohartman@zedat.fu-berlin.de>
Diffstat (limited to 'math/gotoblas/Makefile')
-rw-r--r--math/gotoblas/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/gotoblas/Makefile b/math/gotoblas/Makefile
index 1b30bd106b94..407f132f0d56 100644
--- a/math/gotoblas/Makefile
+++ b/math/gotoblas/Makefile
@@ -100,6 +100,8 @@ 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+$$(CROSS_SUFFIX)+${LOCALBASE}/bin/+' \
${WRKSRC}/Makefile.system
.if defined(WITH_OPENMP)