svn commit: r347381 - head/math/fftw

Tijl Coosemans tijl at FreeBSD.org
Fri Mar 7 13:40:56 UTC 2014


Author: tijl
Date: Fri Mar  7 13:40:55 2014
New Revision: 347381
URL: http://svnweb.freebsd.org/changeset/ports/347381
QAT: https://qat.redports.org/buildarchive/r347381/

Log:
  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

Modified:
  head/math/fftw/Makefile

Modified: head/math/fftw/Makefile
==============================================================================
--- head/math/fftw/Makefile	Fri Mar  7 12:53:40 2014	(r347380)
+++ head/math/fftw/Makefile	Fri Mar  7 13:40:55 2014	(r347381)
@@ -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"


More information about the svn-ports-head mailing list