aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-03-07 21:40:55 +0800
committertijl <tijl@FreeBSD.org>2014-03-07 21:40:55 +0800
commit5f02bdd9aed598983aec4404f520da49196744cc (patch)
treef8e711a801dd950831a2ddb07c2285a3e0ec325c /math
parenta503d8d9c42d1ee876d18ad0e6a92a3b03f2e092 (diff)
downloadfreebsd-ports-gnome-5f02bdd9aed598983aec4404f520da49196744cc.tar.gz
freebsd-ports-gnome-5f02bdd9aed598983aec4404f520da49196744cc.tar.zst
freebsd-ports-gnome-5f02bdd9aed598983aec4404f520da49196744cc.zip
Patch makefiles so libtool passes -B${LOCALBASE}/bin to the compiler in
link mode. Normally USES=libtool deals with this, but the libtool script in this port is too old to patch easily. PR: ports/187274
Diffstat (limited to 'math')
-rw-r--r--math/fftw/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/math/fftw/Makefile b/math/fftw/Makefile
index 1eabbeaaa7d1..dcb055232942 100644
--- a/math/fftw/Makefile
+++ b/math/fftw/Makefile
@@ -48,6 +48,9 @@ CONFIGURE_ARGS+= --enable-i386-hacks
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc | |' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e '/^LINK/s|$$(CCLD)|& -Wc,-B${LOCALBASE}/bin|' \
+ ${WRKSRC}/fftw/Makefile.in ${WRKSRC}/mpi/Makefile.in \
+ ${WRKSRC}/rfftw/Makefile.in ${WRKSRC}/threads/Makefile.in
post-build:
.if ${FFTW_FLAVOR}=="default"