svn commit: r341172 - in head/math/superlu_mt: . files

Gerald Pfeifer gerald at FreeBSD.org
Sun Jan 26 13:20:08 UTC 2014


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 at 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 $<
+ 


More information about the svn-ports-all mailing list