ports/134948: [PATCH] math/suitesparse fails to build with METIS enabled and does not install SPQR headers

Nathan Whitehorn nwhitehorn at FreeBSD.org
Tue May 26 07:20:01 UTC 2009


>Number:         134948
>Category:       ports
>Synopsis:       [PATCH] math/suitesparse fails to build with METIS enabled and does not install SPQR headers
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 26 07:20:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Nathan Whitehorn
>Release:        8.0-CURRENT
>Organization:
University of Wisconsin
>Environment:
FreeBSD wanderer.tachypleus.net 8.0-CURRENT FreeBSD 8.0-CURRENT #0 r192697M: Sun May 24 23:51:14 CEST 2009     root at wanderer.tachypleus.net:/usr/obj/usr/src/sys/WANDERER  amd64
>Description:
SPQR headers are left out of the list of headers to be installed in the main port makefile. The CHOLMOD Makefile also becomes confused about where the METIS headers can be found (appending /Lib to METIS_PATH), so the build fails if you enable METIS.
>How-To-Repeat:

>Fix:
The attached patch fixes both of these, with a few lines of changes.

Patch attached with submission follows:

diff -urN suitesparse.dist/Makefile suitesparse/Makefile
--- suitesparse.dist/Makefile	2009-05-26 08:57:54.000000000 +0200
+++ suitesparse/Makefile	2009-05-26 08:48:52.000000000 +0200
@@ -130,6 +130,7 @@
 	${INSTALL_DATA} ${WRKSRC}/CXSparse/Include/*.h 	                     ${PREFIX}/include/suitesparse
 	${INSTALL_DATA} ${WRKSRC}/KLU/Include/*.h                            ${PREFIX}/include/suitesparse
 	${INSTALL_DATA} ${WRKSRC}/CAMD/Include/*.h		             ${PREFIX}/include/suitesparse
+	${INSTALL_DATA} ${WRKSRC}/SPQR/Include/*.h		             ${PREFIX}/include/suitesparse
 	${INSTALL_DATA} ${WRKDIR}/tmp_static/*.a                             ${PREFIX}/lib
 	${INSTALL_DATA} ${WRKDIR}/tmp_shared/*.so.${SVERSION}                    ${PREFIX}/lib
 	${INSTALL_DATA} ${WRKDIR}/tmp_shared/*.so                    ${PREFIX}/lib
diff -urN suitesparse.dist/files/patch-CHOLMOD+Lib+Makefile suitesparse/files/patch-CHOLMOD+Lib+Makefile
--- suitesparse.dist/files/patch-CHOLMOD+Lib+Makefile	1970-01-01 01:00:00.000000000 +0100
+++ suitesparse/files/patch-CHOLMOD+Lib+Makefile	2009-05-26 08:54:12.000000000 +0200
@@ -0,0 +1,11 @@
+--- CHOLMOD/Lib/Makefile.dist	2009-05-26 08:53:07.000000000 +0200
++++ CHOLMOD/Lib/Makefile	2009-05-26 08:53:22.000000000 +0200
+@@ -116,7 +116,7 @@
+ $(OBJ): $(INC)
+ 
+ I = -I../../AMD/Include -I../../AMD/Source -I../../COLAMD/Include \
+-	-I$(METIS_PATH)/Lib -I../../CCOLAMD/Include -I../../CAMD/Include \
++	-I$(METIS_PATH) -I../../CCOLAMD/Include -I../../CAMD/Include \
+ 	-I../Include -I../../UFconfig
+ 
+ #-------------------------------------------------------------------------------


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list