ports/78272: math/taucs doesn't install headers [patch]
Pedro F. Giffuni
giffunip at asme.org
Wed Mar 2 06:00:41 UTC 2005
>Number: 78272
>Category: ports
>Synopsis: math/taucs doesn't install headers [patch]
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Mar 02 06:00:39 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Pedro F. Giffuni
>Release: 5.2.1-Release
>Organization:
>Environment:
FreeBSD giffuni 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #2: Wed Dec 8 14:19:25 GMT 2004 root at Giffuni:/usr/src/sys/i386/compile/COMPAQ i386
>Description:
Th new version of CalculiX (building right now on my HD) requires the headers in order to support taucs. Another application not yet ported (rheolef) also requires them in /usr/local/include.
>How-To-Repeat:
The attached patch will be required in the next CalculiX port update. taucs_private is probably nnot required but it didn't hurt to have it.
>Fix:
diff -ruN taucs.orig/Makefile taucs/Makefile
--- taucs.orig/Makefile Tue May 4 13:56:38 2004
+++ taucs/Makefile Wed Mar 2 00:14:35 2005
@@ -31,6 +31,8 @@
do-install:
@${INSTALL_DATA} ${WRKSRC}/lib/FreeBSD/libtaucs.a ${PREFIX}/lib
+ @${INSTALL_DATA} ${WRKSRC}/build/FreeBSD/*.h ${PREFIX}/include
+ @${INSTALL_DATA} ${WRKSRC}/src/*.h ${PREFIX}/include
@${INSTALL_PROGRAM} ${WRKSRC}/bin/FreeBSD/direct ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/bin/FreeBSD/iter ${PREFIX}/bin
diff -ruN taucs.orig/files/patch-configure taucs/files/patch-configure
--- taucs.orig/files/patch-configure Sat Jan 3 10:27:38 2004
+++ taucs/files/patch-configure Sat Feb 26 22:25:04 2005
@@ -1,5 +1,5 @@
---- configure.orig Sat Jan 3 02:23:57 2004
-+++ configure Sat Jan 3 02:24:07 2004
+--- configure.orig Sun Aug 24 10:11:33 2003
++++ configure Sat Feb 26 22:24:56 2005
@@ -29,7 +29,7 @@
# Solaris, OSTYPE=solaris but uname returns SunOS.
@@ -9,3 +9,12 @@
fi
# If nothing works, we continue, but configurator will abort
+@@ -46,7 +46,7 @@
+ # If we find exceptions that cannot be fixed in a
+ # generic way, we should use OSTYPE to fix the problems.
+
+-make -f configurator/makefile.unix
++${MAKE} -f configurator/makefile.unix
+
+ # Third phase: try to run configurator with whatever
+ # arguments were passed to the script. If it fails, perhaps
diff -ruN taucs.orig/pkg-plist taucs/pkg-plist
--- taucs.orig/pkg-plist Sat Jan 3 10:27:38 2004
+++ taucs/pkg-plist Wed Mar 2 00:07:12 2005
@@ -1,6 +1,10 @@
bin/direct
bin/iter
lib/libtaucs.a
+include/taucs.h
+include/taucs_config_build.h
+include/taucs_config_tests.h
+include/taucs_private.h
%%PORTDOCS%%%%DOCSDIR%%/taucs.pdf
%%PORTDOCS%%%%DOCSDIR%%/cilk-mf.pdf
%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list