summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/cdf/files')
-rw-r--r--sci-libs/cdf/files/cdf-3.2-Makefile.patch84
-rw-r--r--sci-libs/cdf/files/cdf-3.2-soname.patch22
-rw-r--r--sci-libs/cdf/files/digest-cdf-2.76
-rw-r--r--sci-libs/cdf/files/digest-cdf-3.224
4 files changed, 130 insertions, 6 deletions
diff --git a/sci-libs/cdf/files/cdf-3.2-Makefile.patch b/sci-libs/cdf/files/cdf-3.2-Makefile.patch
new file mode 100644
index 000000000000..6816002dda0f
--- /dev/null
+++ b/sci-libs/cdf/files/cdf-3.2-Makefile.patch
@@ -0,0 +1,84 @@
+--- Makefile.orig 2007-12-03 17:38:59.450705131 +0000
++++ Makefile 2007-12-03 17:46:11.117238346 +0000
+@@ -661,17 +661,17 @@
+ "PIC=$(PIC_$(OS)_$(ENV))" \
+ "CCx=$(CC_$(OS)_$(ENV))" \
+ "LDx=$(LD_$(OS)_$(ENV))" \
+-"COPTIONS=$(UCOPTIONS) $(COPTIONS_$(OS)_$(ENV))" \
++"COPTIONS=$(CFLAGS) $(COPTIONS_$(OS)_$(ENV))" \
+ "SYSLIBS=$(SYSLIBSshr_$(OS)_$(ENV))" \
+ "SHAREDEXT=$(SHAREDEXT_$(OS))" \
+-"LDOPTIONS=$(LDOPTIONS_$(OS)_$(ENV))" \
++"LDOPTIONS=$(LDFLAGS) $(LDOPTIONS_$(OS)_$(ENV))" \
+ "AROPTIONS=$(AROPTIONS_$(OS))" \
+ "RANLIB=$(RANLIB_$(OS))" \
+ all
+ @cd $(TOOLSsrcDIR); $(MAKE) \
+ "CURSES=$(AND.$(CURSES).$(CURSES_$(OS)_$(ENV)))" \
+ "CCx=$(CC_$(OS)_$(ENV))" \
+-"COPTIONS=$(COPTIONS_$(OS)_$(ENV))" \
++"COPTIONS=$(CFLAGS) $(COPTIONS_$(OS)_$(ENV))" \
+ "COPTIONSld=$(COPTIONSld_$(OS)_$(ENV))" \
+ "SYSLIBS=$(SYSLIBSexe_$(OS)_$(ENV))" \
+ "CURSESLIB=$(CURSESLIB_$(OS)_$(ENV))" \
+@@ -681,9 +681,9 @@
+ "FCx=$(FC_$(OS))" \
+ "CCx=$(CC_$(OS)_$(ENV))" \
+ "SHARED=$(AND.$(SHARED).$(SHARED_$(OS)))" \
+-"FOPTIONS=$(FOPTIONS_$(OS)) $(FOPTIONS_$(OS)_$(ENV))" \
++"FOPTIONS=$(FFLAGS) $(FOPTIONS_$(OS)) $(FOPTIONS_$(OS)_$(ENV))" \
+ "FOPTIONSld=$(FOPTIONSld_$(OS)) $(FOPTIONSld_$(OS)_$(ENV))" \
+-"COPTIONS=$(COPTIONS_$(OS)_$(ENV))" \
++"COPTIONS=$(CFLAGS) $(COPTIONS_$(OS)_$(ENV))" \
+ "COPTIONSld=$(COPTIONSld_$(OS)_$(ENV))" \
+ "SYSLIBS=$(SYSLIBSexe_$(OS)_$(ENV))" \
+ "SHAREDEXT=$(SHAREDEXT_$(OS))" \
+@@ -711,12 +711,17 @@
+ install.all: install.definitions install.include install.lib \
+ install.tools install.help_ notify.user
+
+-install.definitions: create.bin copy.definitions change.definitions
++install.definitions: create.bin
+ install.include: create.include copy.include
+ install.tools: create.bin copy.tools
+ install.help_: create.help copy.help
+
+ install.lib: create.lib copy.lib.a
++ @if [ -f $(LIBsrcDIR)/libcdf.$(SHAREDEXT) ] ; then \
++ $(MAKE) "INSTALLDIR=$(INSTALLDIR)" install.lib.so ; \
++ else \
++ $(NULL) ; \
++ fi
+ @if [ -f $(LIBsrcDIR)/libcdf.so ] ; then \
+ $(MAKE) "INSTALLDIR=$(INSTALLDIR)" install.lib.so ; \
+ else \
+@@ -811,8 +816,8 @@
+ cp $(INCsrcDIR)/cdfconfig.h $(INSTALLDIR)/include
+
+ copy.lib.so:
+- @echo cp $(LIBsrcDIR)/libcdf.so $(INSTALLDIR)/lib
+- cp $(LIBsrcDIR)/libcdf.so $(INSTALLDIR)/lib
++ @echo cp $(LIBsrcDIR)/libcdf.$(SHAREDEXT) $(INSTALLDIR)/lib
++ cp $(LIBsrcDIR)/libcdf.$(SHAREDEXT) $(INSTALLDIR)/lib
+
+ copy.lib.sl:
+ @echo cp $(LIBsrcDIR)/libcdf.sl $(INSTALLDIR)/lib
+@@ -1851,15 +1856,15 @@
+ show.supported:
+ @echo SHARED is $(SUPPORTED.$(SHARED_$(OS)))
+ @echo CURSES is $(SUPPORTED.$(CURSES_$(OS)_$(ENV)))
+- @echo FOPTIONS=$(FOPTIONS_$(OS))
++ @echo FOPTIONS=$(FFLAGS) $(FOPTIONS_$(OS))
+ @echo FOPTIONSld=$(FOPTIONSld_$(OS))
+ @echo SHAREDEXT=$(SHAREDEXT_$(OS))
+- @echo LDOPTIONSlibcdf=$(LDOPTIONS_$(OS)_$(ENV))
++ @echo LDOPTIONSlibcdf=$(LDFLAGS) $(LDOPTIONS_$(OS)_$(ENV))
+ @echo RANLIB=$(RANLIB_$(OS))
+ @echo FCx=$(FC_$(OS))
+ @echo CCx=$(CC_$(OS)_$(ENV))
+ @echo PIC=$(PIC_$(OS)_$(ENV))
+- @echo COPTIONS=$(COPTIONS_$(OS)_$(ENV))
++ @echo COPTIONS=$(CFLAGS) $(COPTIONS_$(OS)_$(ENV))
+ @echo COPTIONSld=$(COPTIONSld_$(OS)_$(ENV))
+ @echo CURSESLIB=$(CURSESLIB_$(OS)_$(ENV))
+ @echo SYSLIBSexe=$(SYSLIBSexe_$(OS)_$(ENV))
diff --git a/sci-libs/cdf/files/cdf-3.2-soname.patch b/sci-libs/cdf/files/cdf-3.2-soname.patch
new file mode 100644
index 000000000000..d0357bc23f5a
--- /dev/null
+++ b/sci-libs/cdf/files/cdf-3.2-soname.patch
@@ -0,0 +1,22 @@
+--- src/lib/Makefile.orig 2007-12-03 17:47:58.476149933 +0000
++++ src/lib/Makefile 2007-12-03 17:50:34.353032850 +0000
+@@ -94,7 +94,7 @@
+
+ shared.yes: libcdf.$(SHAREDEXT)
+
+-libcdf.so \
++libcdf.$(SHAREDEXT) \
+ libcdf.dylib \
+ libcdf.sl: $(OBJs)
+ @if [ -f $@ ] ; then rm $@ ; else $(NULL) ; fi
+@@ -102,8 +102,8 @@
+ echo $(LD) $(LDFLAGS) -o $@ $(OBJs) $(SYSLIBS); \
+ $(LD) $(LDFLAGS) -o $@ $(OBJs) $(SYSLIBS); \
+ else \
+- echo $(LD) $(LDFLAGS) -o $@ $(OBJs) $(SYSLIBS); \
+- $(LD) $(LDFLAGS) -o $@ $(OBJs) $(SYSLIBS); \
++ echo $(LD) $(LDFLAGS) -Wl,-soname,libdf.$(SHAREDEXT) -o $@ $(OBJs) $(SYSLIBS); \
++ $(LD) $(LDFLAGS) -Wl,-soname,libdf.$(SHAREDEXT) -o $@ $(OBJs) $(SYSLIBS); \
+ fi
+
+ libcdf.o: $(OBJs)
diff --git a/sci-libs/cdf/files/digest-cdf-2.7 b/sci-libs/cdf/files/digest-cdf-2.7
deleted file mode 100644
index e3c441f92110..000000000000
--- a/sci-libs/cdf/files/digest-cdf-2.7
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 1b95b51f54a0bb787a97aa733381f7a9 cdf27-dist-cdf.tar.gz 872734
-RMD160 69a8fb9d63d1f6e635e85b15dc886b5f96c008b3 cdf27-dist-cdf.tar.gz 872734
-SHA256 eb17bb74bc3b5338d1b4f0139744257f3a5a7c0ff89f7f7015def546ef9d02fd cdf27-dist-cdf.tar.gz 872734
-MD5 c7803f13511a7c2753fdcab45a4e6bee cdf27-dist-java.tar.gz 552932
-RMD160 1f322fa313f749463eab4999f30804a2ff4ee87e cdf27-dist-java.tar.gz 552932
-SHA256 366cc03593511b35973bd44fd590f67aa22a3701b5f1c26cbed4172c666915fd cdf27-dist-java.tar.gz 552932
diff --git a/sci-libs/cdf/files/digest-cdf-3.2 b/sci-libs/cdf/files/digest-cdf-3.2
new file mode 100644
index 000000000000..aafa4db63dc0
--- /dev/null
+++ b/sci-libs/cdf/files/digest-cdf-3.2
@@ -0,0 +1,24 @@
+MD5 8c665c013f6fe1d2ad4968dfdc14431f cdf32-dist-cdf.tar.gz 966523
+RMD160 1913835d597bae33138f31218147d3c4bc068a12 cdf32-dist-cdf.tar.gz 966523
+SHA256 2da085abfb3380849befc42cbfa0e8b663e2395a05a423583be4b07dd2fb14c0 cdf32-dist-cdf.tar.gz 966523
+MD5 8aba71b8b38033a0aa591476110559bc cdf32-dist-java.tar.gz 673976
+RMD160 7781e5db7606f7cd6cadb44fa4364adac47ebf14 cdf32-dist-java.tar.gz 673976
+SHA256 6a9c67b985fe34fc4be6b118c1c89417e89f38b5846656d5e64bff2cd19f375b cdf32-dist-java.tar.gz 673976
+MD5 5b3b357353fddf42f5eff8bbf128088e cdf32crm.pdf 984808
+RMD160 36a2295f76278baba6c8ba8b6881ff301b1de80a cdf32crm.pdf 984808
+SHA256 69a396a4e8969e561854945918e51bbf5df3292d4c462028df24d8b9dee24f6d cdf32crm.pdf 984808
+MD5 0e2ecc6c94984f69c22cfaf3c7a82222 cdf32frm.pdf 1022045
+RMD160 505b1edac1070a1f033ec22dedf8abd8558e9294 cdf32frm.pdf 1022045
+SHA256 83e15705cdb7e23649f81ff80d844817b73721789c11aaacc094591bff28b937 cdf32frm.pdf 1022045
+MD5 343473403b7ce433ff774f71e5a82a51 cdf32ifd.pdf 199629
+RMD160 a5d7cb2459594f6c75afb092c1ebd4b7c4600fb5 cdf32ifd.pdf 199629
+SHA256 308425e647124aa20fffeb4453e13d6f6d6ba7aa770771c652a21eb4a9dbaec9 cdf32ifd.pdf 199629
+MD5 0e2da8df5a3d2fee881b3f7b67c43f72 cdf32jrm.pdf 2700352
+RMD160 a0473c0487cae7ea479a49edf215506936612cfc cdf32jrm.pdf 2700352
+SHA256 9e1501896fbc08c97efcd8fc6d2dd19d10c820c46c566104826d48b7eec4d642 cdf32jrm.pdf 2700352
+MD5 f52d4d12e2570188bbeb1aea3df472b2 cdf32prm.pdf 503273
+RMD160 9160bcc5aff617102d6571a543b40ea647413204 cdf32prm.pdf 503273
+SHA256 5eedd50135851d82146d4516a573965e44b89f9afd84dcfa197dd7599a7b37da cdf32prm.pdf 503273
+MD5 b4ede7e8e9f77525b56754836af25de2 cdf32ug.pdf 664399
+RMD160 37b7b2aced89d5aa5a4263312df93a20f7499344 cdf32ug.pdf 664399
+SHA256 905ed52af5adc1b0bd8949743ac2147846a543b9d489f44fa1c4c451d9e3456f cdf32ug.pdf 664399