summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/ccfits/files/ccfits-2.2-makefile.patch')
-rw-r--r--sci-libs/ccfits/files/ccfits-2.2-makefile.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/sci-libs/ccfits/files/ccfits-2.2-makefile.patch b/sci-libs/ccfits/files/ccfits-2.2-makefile.patch
new file mode 100644
index 000000000000..e92d9306900c
--- /dev/null
+++ b/sci-libs/ccfits/files/ccfits-2.2-makefile.patch
@@ -0,0 +1,26 @@
+--- Makefile.am.orig 2010-01-20 02:52:22.000000000 +0000
++++ Makefile.am 2010-01-20 02:50:34.000000000 +0000
+@@ -26,12 +26,11 @@
+ EXTRA_DIST = config CHANGES README.INSTALL License.txt file1.pha $(MSVC_FILES)
+
+
+-bin_PROGRAMS = cookbook
++check_PROGRAMS = cookbook
+
+ cookbook_SOURCES = cookbook.cxx
+
+ cookbook_LDADD = libCCfits.la
+-cookbook_LDFLAGS = -R $(R_LIB_PATH) -R $(CXX_LIB_PATH)
+
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = CCfits.pc
+@@ -64,8 +63,7 @@
+
+ # This will tell shared library which STD C++ library to use without
+ # needing the user to use LD_LIBRARY_PATH environment variable
+-libCCfits_la_LIBADD = $(LIBSTDCPP)
+-libCCfits_la_LDFLAGS = -R $(R_LIB_PATH) -R $(CXX_LIB_PATH)
++#libCCfits_la_LIBADD = $(LIBSTDCPP)
+
+ libCCfits_ladir = $(pkgincludedir)
+