* [gentoo-commits] gentoo-x86 commit in sci-astronomy/esorex/files: esorex-3.8.3-cfitsio.patch
@ 2010-10-03 8:24 Kacper Kowalik (xarthisius)
0 siblings, 0 replies; only message in thread
From: Kacper Kowalik (xarthisius) @ 2010-10-03 8:24 UTC (permalink / raw
To: gentoo-commits
xarthisius 10/10/03 08:24:55
Added: esorex-3.8.3-cfitsio.patch
Log:
Use pkg-config for cfitsio wrt bug 339460. Thanks to Diego for the report. Drop old.
(Portage version: 2.1.9/cvs/Linux x86_64)
Revision Changes Path
1.1 sci-astronomy/esorex/files/esorex-3.8.3-cfitsio.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/esorex/files/esorex-3.8.3-cfitsio.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/esorex/files/esorex-3.8.3-cfitsio.patch?rev=1.1&content-type=text/plain
Index: esorex-3.8.3-cfitsio.patch
===================================================================
Use pkg-config for cfitsio
http://bugs.gentoo.org/show_bug.cgi?id=339460
--- configure.ac
+++ configure.ac
@@ -69,7 +69,7 @@
ESOREX_FUNC_GETOPT
# Check for CPL/CFITSIO presence and usability
-CPL_CHECK_CFITSIO
+PKG_CHECK_MODULES([CFITSIO], [cfitsio >= 3.09])
#CPL_CHECK_CEXT
CPL_CHECK_LIBS
ESO_CHECK_EXTRA_LIBS
--- src/Makefile.am
+++ src/Makefile.am
@@ -33,7 +33,7 @@
CPPFLAGS = -DCX_LOG_DOMAIN=\"EsoRex\"
-INCLUDES = $(CFITSIO_INCLUDES) $(CPL_INCLUDES) $(CX_INCLUDES) $(INCLTDL)
+INCLUDES = $(CFITSIO_CFLAGS) $(CPL_INCLUDES) $(CX_INCLUDES) $(INCLTDL)
noinst_HEADERS = er_fileutils.h er_help.h er_main.h er_params.h \
er_paramutils.h er_plugin.h er_pluginlist.h \
@@ -51,8 +51,8 @@
config_DATA =
-esorex_LDFLAGS = $(CPL_LDFLAGS) $(CFITSIO_LDFLAGS) $(LIBLTDL)
-esorex_LDADD = @GETOPT@ $(LIBCPLUI) $(LIBCPLDFS) $(LIBLTDL)
+esorex_LDFLAGS = $(CPL_LDFLAGS) $(LIBLTDL)
+esorex_LDADD = @GETOPT@ $(CFITSIO_LIBS) $(LIBCPLUI) $(LIBCPLDFS) $(LIBLTDL)
esorex_DEPENDENCIES = @GETOPT@ $(LIBLTDL)
if PURIFY
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-10-03 8:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-03 8:24 [gentoo-commits] gentoo-x86 commit in sci-astronomy/esorex/files: esorex-3.8.3-cfitsio.patch Kacper Kowalik (xarthisius)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox