Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Mar 2014 13:40:55 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r347381 - head/math/fftw
Message-ID:  <201403071340.s27DeuxB062072@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403071340.s27DeuxB062072>