Bug 224225 - sci-libs/cfitsio-2.510-r1 ebuild does not install libcfitsio.a
Bug#: 224225 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: sci@gentoo.org Reported By: mlm@ngc17.pl
Component: Ebuilds
URL: 
Summary: sci-libs/cfitsio-2.510-r1 ebuild does not install libcfitsio.a
Keywords:  
Status Whiteboard: 
Opened: 2008-05-30 12:24 0000
Description:   Opened: 2008-05-30 12:24 0000
I am writing a new ebuild for sci-libs/cpl-4.1.0 and I can't pass configuration
phase, because the script checks for libcfitsio.a file. I applied this patch to
the cfitsio-2.510-r1.ebuild and everything works fine:

--- cfitsio-2.510-r1.ebuild.orig        2008-05-30 12:02:07.000000000 +0000
+++ cfitsio-2.510-r1.ebuild     2008-05-30 12:02:30.000000000 +0000
@@ -36,6 +36,7 @@
        dodir /usr/include
        dobin fitscopy imcopy listhead
        dolib.so libcfitsio.so.*
+       dolib.a  libcfitsio.a
        dodoc changes.txt README Licence.txt

        if use doc; then

------- Comment #1 From Markus Dittrich 2008-05-31 10:44:36 0000 -------
Hi Marek,

The cfitsio-3.060.ebuild will already properly 
install the *.a libraries. Can you use this version 
instead? If at all possible stable ebuilds like
cfitsio-2.510-r1 should not be changed unless there's
a clear bug/security issue.

Thanks,
Markus

------- Comment #2 From Marek Miller 2008-05-31 12:50:30 0000 -------
Unfortunately, I cannot use any other version as stated in
http://www.eso.org/sci/data-processing/software/cpl/download.html

------- Comment #3 From Marek Miller 2008-05-31 13:23:11 0000 -------
Is this possible to put 2.510-r2 in portage tree?

------- Comment #4 From Markus Dittrich 2008-05-31 13:29:57 0000 -------
Fair enough. Since it shouldn't do any harm I've added the 
installation of the static lib to the cfitsio-2.510-r1 ebuild.
Please let us know if there are any problems and good luck 
with the cpl ebuild.

Thanks,
Markus