diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2014-03-07 13:40:55 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2014-03-07 13:40:55 +0000 |
commit | a342181f4dea1e820edc88c2c57ddf55770ec626 (patch) | |
tree | f8e711a801dd950831a2ddb07c2285a3e0ec325c /math/fftw/Makefile | |
parent | f2c6d670470dd3586cdb7c9741a5a27f40ce84e3 (diff) | |
download | ports-a342181f4dea1e820edc88c2c57ddf55770ec626.tar.gz ports-a342181f4dea1e820edc88c2c57ddf55770ec626.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
Notes
Notes:
svn path=/head/; revision=347381
Diffstat (limited to 'math/fftw/Makefile')
-rw-r--r-- | math/fftw/Makefile | 3 |
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" |