Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224225 - sci-libs/cfitsio-2.510-r1 ebuild does not install libcfitsio.a
Summary: sci-libs/cfitsio-2.510-r1 ebuild does not install libcfitsio.a
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 224227
  Show dependency tree
 
Reported: 2008-05-30 12:24 UTC by Marek Miller
Modified: 2008-05-31 13:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Miller 2008-05-30 12:24:43 UTC
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 Markus Dittrich (RETIRED) gentoo-dev 2008-05-31 10:44:36 UTC
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 Marek Miller 2008-05-31 12:50:30 UTC
Unfortunately, I cannot use any other version as stated in
http://www.eso.org/sci/data-processing/software/cpl/download.html
Comment 3 Marek Miller 2008-05-31 13:23:11 UTC
Is this possible to put 2.510-r2 in portage tree?
Comment 4 Markus Dittrich (RETIRED) gentoo-dev 2008-05-31 13:29:57 UTC
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