Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2014 13:20:08 +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: r341172 - in head/math/superlu_mt: . files
Message-ID:  <201401261320.s0QDK8QX043477@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gerald
Date: Sun Jan 26 13:20:07 2014
New Revision: 341172
URL: http://svnweb.freebsd.org/changeset/ports/341172
QAT: https://qat.redports.org/buildarchive/r341172/

Log:
  Ensure sure LDFLAGS are used correctly (which is necessary for newer
  versions of GCC, for example).
  
  PR:		182136
  Submitted by:	Christoph Moench-Tegeder <cmt@burggraben.net>
  Approved by:	maintainer timeout

Added:
  head/math/superlu_mt/files/patch-INSTALL-Makefile   (contents, props changed)
Modified:
  head/math/superlu_mt/Makefile

Modified: head/math/superlu_mt/Makefile
==============================================================================
--- head/math/superlu_mt/Makefile	Sun Jan 26 12:55:03 2014	(r341171)
+++ head/math/superlu_mt/Makefile	Sun Jan 26 13:20:07 2014	(r341172)
@@ -88,8 +88,8 @@ post-patch:
 		${WRKSRC_SHARED}/make.inc
 
 do-build:
-	cd ${WRKSRC} ; ${GMAKE}
-	cd ${WRKSRC_SHARED} ; ${GMAKE}
+	cd ${WRKSRC} ; ${GMAKE} LDFLAGS="${LDFLAGS}"
+	cd ${WRKSRC_SHARED} ; ${GMAKE} LDFLAGS="${LDFLAGS}"
 	${RM} -rf ${WRKDIR}/tmp_static
 	${MKDIR} ${WRKDIR}/tmp_static
 	cd ${WRKDIR}/tmp_static

Added: head/math/superlu_mt/files/patch-INSTALL-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/superlu_mt/files/patch-INSTALL-Makefile	Sun Jan 26 13:20:07 2014	(r341172)
@@ -0,0 +1,11 @@
+--- INSTALL/Makefile.orig	2013-11-16 19:14:28.000000000 +0100
++++ INSTALL/Makefile	2013-11-16 19:14:58.000000000 +0100
+@@ -17,7 +17,7 @@
+ 
+ slamch.o: slamch.c ; $(CC) $(NOOPTS) -c $<
+ dlamch.o: dlamch.c ; $(CC) $(NOOPTS) -c $<
+-superlu_timer.o: superlu_timer.c; $(CC) $(NOOPTS) -c $<
++superlu_timer.o: superlu_timer.c; $(CC) $(LDFLAGS) $(NOOPTS) -c $<
+ 
+ .c.o: ; $(CC) $(CFLAGS) -c $<
+ 



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