Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 05:34:46 +0000 (UTC)
From:      Gerald Pfeifer <gerald@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340551 - head/math/petsc
Message-ID:  <201401210534.s0L5YkCX091948@svn.freebsd.org>

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



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