svn commit: r340551 - head/math/petsc

Gerald Pfeifer gerald at FreeBSD.org
Tue Jan 21 05:34:46 UTC 2014


Author: gerald
Date: Tue Jan 21 05:34:46 2014
New Revision: 340551
URL: http://svnweb.freebsd.org/changeset/ports/340551
QAT: https://qat.redports.org/buildarchive/r340551/

Log:
  Pass full LDFLAGS to configure script.  This fixes the build with
  newer versions of GCC, allowing for an update of lang/gcc (and it's
  the right thing anyway).
  
  PR:		182136
  Submitted by:	Christoph Moench-Tegeder <cmt at burggraben.net>
  Approved by:	maintainer timeout

Modified:
  head/math/petsc/Makefile

Modified: head/math/petsc/Makefile
==============================================================================
--- head/math/petsc/Makefile	Tue Jan 21 05:20:23 2014	(r340550)
+++ head/math/petsc/Makefile	Tue Jan 21 05:34:46 2014	(r340551)
@@ -25,7 +25,8 @@ CONFIGURE_ENV=		PETSC_ARCH=${TARGET}	\
 CONFIGURE_ARGS=		--prefix=${PREFIX}/${PFX} --COPTFLAGS="${CFLAGS}"	\
 			--CXXOPTFLAGS="${CXXFLAGS}" --FOPTFLAGS="${FFLAGS}"	\
 			--with-shared=1 --with-cc=${CC} --with-fc=${FC}		\
-			--CPPFLAGS="-I${LOCALBASE}/include" --LDFLAGS=${PTHREAD_LIBS}
+			--CPPFLAGS="-I${LOCALBASE}/include"	\
+			--LDFLAGS="${PTHREAD_LIBS} ${LDFLAGS}"
 ALL_TARGET=		all
 MAKEFILE=		makefile
 MAKE_ENV=		PETSC_DIR=${WRKSRC}


More information about the svn-ports-all mailing list