summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-09-21 01:57:48 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-09-21 01:57:48 +0000
commite267aef1453fec46217a2d790b6dc9e46bbb1c1d (patch)
treeb771af2c7e9f1b6e57a0c3d5c1e82d251e4d1fb9
parentRe-roll patch and try to fix bug #273786 (diff)
downloadhistorical-e267aef1453fec46217a2d790b6dc9e46bbb1c1d.tar.gz
historical-e267aef1453fec46217a2d790b6dc9e46bbb1c1d.tar.bz2
historical-e267aef1453fec46217a2d790b6dc9e46bbb1c1d.zip
Removed old, closing #284558
Package-Manager: portage-2.2_rc40/cvs/Linux x86_64
-rw-r--r--sci-libs/hdf/ChangeLog6
-rw-r--r--sci-libs/hdf/Manifest15
-rw-r--r--sci-libs/hdf/files/hdf-4.2.0-shared-libs.patch409
-rw-r--r--sci-libs/hdf/hdf-4.2.0-r4.ebuild84
4 files changed, 16 insertions, 498 deletions
diff --git a/sci-libs/hdf/ChangeLog b/sci-libs/hdf/ChangeLog
index 4e89b2c9957d..bb18f3f4cfe2 100644
--- a/sci-libs/hdf/ChangeLog
+++ b/sci-libs/hdf/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/hdf
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf/ChangeLog,v 1.15 2009/09/20 18:42:29 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf/ChangeLog,v 1.16 2009/09/21 01:57:48 bicatali Exp $
+
+ 21 Sep 2009; SĂ©bastien Fabbro <bicatali@gentoo.org> -hdf-4.2.0-r4.ebuild,
+ -files/hdf-4.2.0-shared-libs.patch:
+ Removed old, closing #284558
20 Sep 2009; nixnut <nixnut@gentoo.org> hdf-4.2_p4.ebuild:
ppc stable #284613
diff --git a/sci-libs/hdf/Manifest b/sci-libs/hdf/Manifest
index 01087da54092..ac289404d5b5 100644
--- a/sci-libs/hdf/Manifest
+++ b/sci-libs/hdf/Manifest
@@ -1,8 +1,15 @@
-AUX hdf-4.2.0-shared-libs.patch 17794 RMD160 d1557665ab6fd48b7ce6780e4d910042c6b3331c SHA1 a1c82e50557eec53399515d801a64f4119a7afed SHA256 966cc03aa0d17245cd0bbf5ec5d87d2074a517fdf76a8a135cd94af69e494501
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST HDF4.2r4.tar.gz 3914118 RMD160 13274858f1fa0c339fab83b1f9c37314bd10d624 SHA1 000fa1be9c355c490cceed786feeb269a0d355a7 SHA256 39695c85e15c391e589cfdcb98ecc9a72fbb7447f0575bff4d030d53a62e689d
DIST hdf-4.2_p4-patches.tar.bz2 6914 RMD160 de251f3f54c635187d507743a2bb9afb70052dfa SHA1 02575337706c2a3e4256702be7e461c40fdba026 SHA256 e04ece17fab9739f145099ee78e926ca790177033bfa102f12b328b66bbac390
-DIST hdf4.2r0.tar.gz 3738135 RMD160 b0a32930d85045d750ee3ef8a717c583946d6f9d SHA1 1b9feb2bfb34458b5af45b5c2d905f017c49033a SHA256 8e18fe97ae6c2f3c9135c9f4d2f26647e4dbb5a1ec7429f59647532cabbe07f5
-EBUILD hdf-4.2.0-r4.ebuild 2567 RMD160 70fa4de46c5509af8aefb4ee6abcd2fe5f7c61dd SHA1 e71fbb28df62f8bc05d16e31c74525c4fb6de1ec SHA256 641344ea5ad07dd5fec92ea2d24c81de813d471c2b959b2edf77bbae4c5e13a4
EBUILD hdf-4.2_p4.ebuild 2024 RMD160 bee98607bb12aff6996a31f5585317e2eadc3b00 SHA1 ae38f004a2ae57c63fbdd029525910d91a297983 SHA256 897f8b35ba8900493dbe77b38a2c65a60e352bca0e29315851105041092f3448
-MISC ChangeLog 3684 RMD160 57aad4fcb9fe701d513f05b854d311596c43aafd SHA1 c9063272ed281b1748dcfe8e5c214f2f2c646b23 SHA256 e796a2feaab824144a09777c5aa57cd543c8df7cff3bbcdb132b79c70d212703
+MISC ChangeLog 3833 RMD160 d229177128ce2b75938387114526b1af2ec4802b SHA1 79bf9b350547b83d023ae4b184afb5feda38a322 SHA256 c4e80e3d0a6e7163fba69eb36261582ed4e7a995b27a2e349f42a658531cd2d8
MISC metadata.xml 760 RMD160 4ef5d149f44169242bf9425d6c0b3a2e512fe0a1 SHA1 4c0c294751b93851300fd03ea9121f6d9f36a8d2 SHA256 a753e7be3b3935681d6aa925d90c6eff98d764b8a8dbf30ed0dfc4046df39def
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkq23aUACgkQ1ycZbhPLE2BZAwCfYc6CeHaqNjQL4/OYamVNpTdL
+DH8An0U1FUaTDLYIk2rXdCTHDFYzrPEK
+=t0SP
+-----END PGP SIGNATURE-----
diff --git a/sci-libs/hdf/files/hdf-4.2.0-shared-libs.patch b/sci-libs/hdf/files/hdf-4.2.0-shared-libs.patch
deleted file mode 100644
index 357e99fcb558..000000000000
--- a/sci-libs/hdf/files/hdf-4.2.0-shared-libs.patch
+++ /dev/null
@@ -1,409 +0,0 @@
-diff -ru hdf4.2r0.orig/configure.ac hdf4.2r0/configure.ac
---- hdf4.2r0.orig/configure.ac 2003-11-21 21:06:01.000000000 +0100
-+++ hdf4.2r0/configure.ac 2005-01-24 16:00:40.349448064 +0100
-@@ -166,7 +166,7 @@
- AC_PROG_INSTALL
- AM_PROG_LEX
- AC_PROG_LN_S
--AC_PROG_RANLIB
-+AC_PROG_LIBTOOL
- AC_PROG_YACC
-
- AC_CHECK_PROGS([AR], [ar xar], [:], [$PATH])
-Only in hdf4.2r0/: configure.ac.orig
-diff -ru hdf4.2r0.orig/hdf/src/Makefile.am hdf4.2r0/hdf/src/Makefile.am
---- hdf4.2r0.orig/hdf/src/Makefile.am 2003-11-07 00:04:16.000000000 +0100
-+++ hdf4.2r0/hdf/src/Makefile.am 2005-01-24 15:59:49.534173160 +0100
-@@ -2,7 +2,7 @@
- ## Library to build ##
- #############################################################################
-
--lib_LIBRARIES = libdf.a
-+lib_LTLIBRARIES = libdf.la
-
- FSOURCES = df24ff.f dfanf.c dfanff.f dff.c dfff.f dfpf.c dfpff.f dfr8f.c \
- dfr8ff.f dfsdf.c dfsdff.f dfufp2if.f dfutilf.c herrf.c hfilef.c \
-@@ -26,10 +26,10 @@
- FHEADERS = dffunc.f90 hdf.f90 dffunc.inc hdf.inc
-
- if HDF_BUILD_FORTRAN
--libdf_a_SOURCES = $(CSOURCES) $(FSOURCES)
-+libdf_la_SOURCES = $(CSOURCES) $(FSOURCES)
- include_HEADERS = $(CHEADERS) $(FHEADERS)
- else
--libdf_a_SOURCES = $(CSOURCES)
-+libdf_la_SOURCES = $(CSOURCES)
- include_HEADERS = $(CHEADERS)
- endif
-
-diff -ru hdf4.2r0.orig/hdf/util/Makefile.am hdf4.2r0/hdf/util/Makefile.am
---- hdf4.2r0.orig/hdf/util/Makefile.am 2003-11-07 19:38:46.000000000 +0100
-+++ hdf4.2r0/hdf/util/Makefile.am 2005-01-24 16:02:06.862296112 +0100
-@@ -20,76 +20,76 @@
- endif
-
- gif2hdf_SOURCES = gif2hdf.c gif2mem.c gifread.c decompress.c writehdf.c
--gif2hdf_LDADD = ../src/libdf.a
--gif2hdf_DEPENDENCIES = ../src/libdf.a
-+gif2hdf_LDADD = ../src/libdf.la
-+gif2hdf_DEPENDENCIES = ../src/libdf.la
-
- hdf2gif_SOURCES = hdf2gif.c hdfgifwr.c
--hdf2gif_LDADD = ../src/libdf.a
--hdf2gif_DEPENDENCIES = ../src/libdf.a
-+hdf2gif_LDADD = ../src/libdf.la
-+hdf2gif_DEPENDENCIES = ../src/libdf.la
-
- hdf2jpeg_SOURCES = hdf2jpeg.c
--hdf2jpeg_LDADD = ../src/libdf.a
--hdf2jpeg_DEPENDENCIES = ../src/libdf.a
-+hdf2jpeg_LDADD = ../src/libdf.la
-+hdf2jpeg_DEPENDENCIES = ../src/libdf.la
-
- hdf24to8_SOURCES = hdf24to8.c
--hdf24to8_LDADD = ../src/libdf.a
--hdf24to8_DEPENDENCIES = ../src/libdf.a
-+hdf24to8_LDADD = ../src/libdf.la
-+hdf24to8_DEPENDENCIES = ../src/libdf.la
-
- hdf8to24_SOURCES = hdf8to24.c
--hdf8to24_LDADD = ../src/libdf.a
--hdf8to24_DEPENDENCIES = ../src/libdf.a
-+hdf8to24_LDADD = ../src/libdf.la
-+hdf8to24_DEPENDENCIES = ../src/libdf.la
-
- hdfcomp_SOURCES = hdfcomp.c
--hdfcomp_LDADD = ../src/libdf.a
--hdfcomp_DEPENDENCIES = ../src/libdf.a
-+hdfcomp_LDADD = ../src/libdf.la
-+hdfcomp_DEPENDENCIES = ../src/libdf.la
-
- hdfed_SOURCES = he_cntrl.c he_disp.c he_file.c he_main.c
--hdfed_LDADD = ../src/libdf.a
--hdfed_DEPENDENCIES = ../src/libdf.a
-+hdfed_LDADD = ../src/libdf.la
-+hdfed_DEPENDENCIES = ../src/libdf.la
-
- hdfls_SOURCES = hdfls.c
--hdfls_LDADD = ../src/libdf.a
--hdfls_DEPENDENCIES = ../src/libdf.a
-+hdfls_LDADD = ../src/libdf.la
-+hdfls_DEPENDENCIES = ../src/libdf.la
-
- hdfpack_SOURCES = hdfpack.c
--hdfpack_LDADD = ../src/libdf.a
--hdfpack_DEPENDENCIES = ../src/libdf.a
-+hdfpack_LDADD = ../src/libdf.la
-+hdfpack_DEPENDENCIES = ../src/libdf.la
-
- hdftopal_SOURCES = hdftopal.c
--hdftopal_LDADD = ../src/libdf.a
--hdftopal_DEPENDENCIES = ../src/libdf.a
-+hdftopal_LDADD = ../src/libdf.la
-+hdftopal_DEPENDENCIES = ../src/libdf.la
-
- hdftor8_SOURCES = hdftor8.c
--hdftor8_LDADD = ../src/libdf.a
--hdftor8_DEPENDENCIES = ../src/libdf.a
-+hdftor8_LDADD = ../src/libdf.la
-+hdftor8_DEPENDENCIES = ../src/libdf.la
-
- hdfunpac_SOURCES = hdfunpac.c
--hdfunpac_LDADD = ../src/libdf.a
--hdfunpac_DEPENDENCIES = ../src/libdf.a
-+hdfunpac_LDADD = ../src/libdf.la
-+hdfunpac_DEPENDENCIES = ../src/libdf.la
-
- jpeg2hdf_SOURCES = jpeg2hdf.c
--jpeg2hdf_LDADD = ../src/libdf.a
--jpeg2hdf_DEPENDENCIES = ../src/libdf.a
-+jpeg2hdf_LDADD = ../src/libdf.la
-+jpeg2hdf_DEPENDENCIES = ../src/libdf.la
-
- paltohdf_SOURCES = paltohdf.c
--paltohdf_LDADD = ../src/libdf.a
--paltohdf_DEPENDENCIES = ../src/libdf.a
-+paltohdf_LDADD = ../src/libdf.la
-+paltohdf_DEPENDENCIES = ../src/libdf.la
-
- r8tohdf_SOURCES = r8tohdf.c
--r8tohdf_LDADD = ../src/libdf.a
--r8tohdf_DEPENDENCIES = ../src/libdf.a
-+r8tohdf_LDADD = ../src/libdf.la
-+r8tohdf_DEPENDENCIES = ../src/libdf.la
-
- ristosds_SOURCES = ristosds.c
--ristosds_LDADD = ../src/libdf.a
--ristosds_DEPENDENCIES = ../src/libdf.a
-+ristosds_LDADD = ../src/libdf.la
-+ristosds_DEPENDENCIES = ../src/libdf.la
-
- vmake_SOURCES = vmake.c
--vmake_LDADD = ../src/libdf.a
--vmake_DEPENDENCIES = ../src/libdf.a
-+vmake_LDADD = ../src/libdf.la
-+vmake_DEPENDENCIES = ../src/libdf.la
-
- vshow_SOURCES = vshow.c
--vshow_LDADD = ../src/libdf.a
--vshow_DEPENDENCIES = ../src/libdf.a
-+vshow_LDADD = ../src/libdf.la
-+vshow_DEPENDENCIES = ../src/libdf.la
-
- #############################################################################
- ## Testing -- Here there be dragons. ##
-diff -ru hdf4.2r0.orig/mfhdf/libsrc/Makefile.am hdf4.2r0/mfhdf/libsrc/Makefile.am
---- hdf4.2r0.orig/mfhdf/libsrc/Makefile.am 2003-11-07 00:07:00.000000000 +0100
-+++ hdf4.2r0/mfhdf/libsrc/Makefile.am 2005-01-24 15:59:49.535173008 +0100
-@@ -13,7 +13,7 @@
- ## Library to build ##
- #############################################################################
-
--lib_LIBRARIES = libmfhdf.a
-+lib_LTLIBRARIES = libmfhdf.la
-
- ## Information for building the "libmfhdf.a" library
- CSOURCES=array.c attr.c cdf.c dim.c file.c hdfsds.c iarray.c error.c \
-@@ -25,17 +25,17 @@
- if HDF_BUILD_FORTRAN
-
- if HDF_BUILD_XDR
--libmfhdf_a_SOURCES = $(CSOURCES) $(FSOURCES) $(XDRSOURCES)
-+libmfhdf_la_SOURCES = $(CSOURCES) $(FSOURCES) $(XDRSOURCES)
- else
--libmfhdf_a_SOURCES = $(CSOURCES) $(FSOURCES)
-+libmfhdf_la_SOURCES = $(CSOURCES) $(FSOURCES)
- endif
-
- else
-
- if HDF_BUILD_XDR
--libmfhdf_a_SOURCES = $(CSOURCES) $(XDRSOURCES)
-+libmfhdf_la_SOURCES = $(CSOURCES) $(XDRSOURCES)
- else
--libmfhdf_a_SOURCES = $(CSOURCES)
-+libmfhdf_la_SOURCES = $(CSOURCES)
- endif
-
- endif
-diff -ru hdf4.2r0.orig/mfhdf/port/Makefile.am hdf4.2r0/mfhdf/port/Makefile.am
---- hdf4.2r0.orig/mfhdf/port/Makefile.am 2003-08-09 03:58:54.000000000 +0200
-+++ hdf4.2r0/mfhdf/port/Makefile.am 2005-01-24 15:59:49.536172856 +0100
-@@ -1,2 +1,2 @@
--lib_LIBRARIES = libudport.a
--libudport_a_SOURCES = uddummy.c
-+lib_LTLIBRARIES = libudport.la
-+libudport_la_SOURCES = uddummy.c
-diff -ru hdf4.2r0.orig/hdf/test/Makefile.am hdf4.2r0/hdf/test/Makefile.am
---- hdf4.2r0.orig/hdf/test/Makefile.am 2003-11-07 19:38:42.000000000 +0100
-+++ hdf4.2r0/hdf/test/Makefile.am 2005-01-24 16:38:54.077748360 +0100
-@@ -21,20 +21,20 @@
- mgr.c nbit.c rig.c sdmms.c sdnmms.c sdstr.c slab.c tbv.c \
- testhdf.c tree.c tszip.c tvattr.c tvset.c tvsfpack.c \
- vers.c
--testhdf_LDADD = ../src/libdf.a
--testhdf_DEPENDENCIES = testdir ../src/libdf.a
-+testhdf_LDADD = ../src/libdf.la
-+testhdf_DEPENDENCIES = testdir ../src/libdf.la
-
- if HDF_BUILD_FORTRAN
- fortest_SOURCES = fortest.c
--fortest_LDADD = ../src/libdf.a
--fortest_DEPENDENCIES = testdir fortestF ../src/libdf.a
-+fortest_LDADD = ../src/libdf.la
-+fortest_DEPENDENCIES = testdir fortestF ../src/libdf.la
-
- fortestF_SOURCES = forsupff.f forsupf.c fortestF.f manf.f mgrf.f slabwf.f \
- t24f.f tanf.f tanfilef.f tpf.f tr8f.f tsdmmsf.f \
- tsdnmmsf.f tsdnntf.f tsdntf.f tsdstrf.f tstubsf.f \
- tvattrf.f tvsetf.f
--fortestF_LDADD = ../src/libdf.a
--fortestF_DEPENDENCIES = testdir ../src/libdf.a
-+fortestF_LDADD = ../src/libdf.la
-+fortestF_DEPENDENCIES = testdir ../src/libdf.la
- endif
-
- testdir:
-diff -ru hdf4.2r0.orig/mfhdf/dumper/Makefile.am hdf4.2r0/mfhdf/dumper/Makefile.am
---- hdf4.2r0.orig/mfhdf/dumper/Makefile.am 2003-11-07 19:38:49.000000000 +0100
-+++ hdf4.2r0/mfhdf/dumper/Makefile.am 2005-01-24 16:38:54.085747144 +0100
-@@ -18,8 +18,8 @@
- ## Information for building the "hdp" program
- hdp_SOURCES = hdp.c hdp_dump.c hdp_gr.c hdp_list.c hdp_rig.c hdp_sds.c \
- hdp_util.c hdp_vd.c hdp_vg.c show.c
--hdp_LDADD = ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a @LIBS@
--hdp_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.a ../libsrc/libmfhdf.a
-+hdp_LDADD = ../libsrc/libmfhdf.la $(top_builddir)/hdf/src/libdf.la @LIBS@
-+hdp_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.la ../libsrc/libmfhdf.la
-
- #############################################################################
- ## Testing -- Here there be dragons. ##
-diff -ru hdf4.2r0.orig/mfhdf/fortran/Makefile.am hdf4.2r0/mfhdf/fortran/Makefile.am
---- hdf4.2r0.orig/mfhdf/fortran/Makefile.am 2003-11-24 23:11:25.000000000 +0100
-+++ hdf4.2r0/mfhdf/fortran/Makefile.am 2005-01-24 16:38:54.087746840 +0100
-@@ -19,13 +19,13 @@
-
- ftest_SOURCES = ftest.f
- ftest_LDADD = $(top_builddir)/hdf/test/forsupff.o $(top_builddir)/hdf/test/forsupf.o \
-- ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a @LIBS@
-+ ../libsrc/libmfhdf.la $(top_builddir)/hdf/src/libdf.la @LIBS@
- ftest_DEPENDENCIES = $(top_builddir)/hdf/test/forsupff.o $(top_builddir)/hdf/test/forsupf.o \
-- $(top_builddir)/hdf/src/libdf.a ../libsrc/libmfhdf.a
-+ $(top_builddir)/hdf/src/libdf.la ../libsrc/libmfhdf.la
-
- hdftest_SOURCES = hdftest.f
--hdftest_LDADD = ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a @LIBS@
--hdftest_DEPENDENCIES = testdir $(top_builddir)/hdf/src/libdf.a ../libsrc/libmfhdf.a
-+hdftest_LDADD = ../libsrc/libmfhdf.la $(top_builddir)/hdf/src/libdf.la @LIBS@
-+hdftest_DEPENDENCIES = testdir $(top_builddir)/hdf/src/libdf.la ../libsrc/libmfhdf.la
-
- testdir:
- -mkdir testdir
-diff -ru hdf4.2r0.orig/mfhdf/hdfimport/Makefile.am hdf4.2r0/mfhdf/hdfimport/Makefile.am
---- hdf4.2r0.orig/mfhdf/hdfimport/Makefile.am 2003-11-07 19:38:54.000000000 +0100
-+++ hdf4.2r0/mfhdf/hdfimport/Makefile.am 2005-01-24 16:38:54.089746536 +0100
-@@ -17,8 +17,8 @@
- bin_PROGRAMS = hdfimport
-
- hdfimport_SOURCES = hdfimport.c
--hdfimport_LDADD = ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a @LIBS@
--hdfimport_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.a ../libsrc/libmfhdf.a
-+hdfimport_LDADD = ../libsrc/libmfhdf.la $(top_builddir)/hdf/src/libdf.la @LIBS@
-+hdfimport_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.la ../libsrc/libmfhdf.la
-
- #############################################################################
- ## Testing -- Here there be dragons. ##
-@@ -28,8 +28,8 @@
- check_SCRIPTS = testutil.sh
-
- hdfimporttest_SOURCES = hdfimporttest.c
--hdfimporttest_LDADD = ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a @LIBS@
--hdfimporttest_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.a ../libsrc/libmfhdf.a
-+hdfimporttest_LDADD = ../libsrc/libmfhdf.la $(top_builddir)/hdf/src/libdf.la @LIBS@
-+hdfimporttest_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.la ../libsrc/libmfhdf.la
-
- check: hdfimporttest
- @$(SHELL) ./testutil.sh
-diff -ru hdf4.2r0.orig/mfhdf/hdiff/Makefile.am hdf4.2r0/mfhdf/hdiff/Makefile.am
---- hdf4.2r0.orig/mfhdf/hdiff/Makefile.am 2003-11-20 22:54:42.000000000 +0100
-+++ hdf4.2r0/mfhdf/hdiff/Makefile.am 2005-01-24 16:38:54.091746232 +0100
-@@ -20,8 +20,8 @@
- hdiff_SOURCES = hdiff.c hdiff_array.c hdiff_gr.c hdiff_list.c hdiff_main.c \
- hdiff_mattbl.c hdiff_gattr.c hdiff_misc.c hdiff_sds.c \
- hdiff_table.c hdiff_vs.c
--hdiff_LDADD = ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a @LIBS@
--hdiff_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.a ../libsrc/libmfhdf.a
-+hdiff_LDADD = ../libsrc/libmfhdf.la $(top_builddir)/hdf/src/libdf.la @LIBS@
-+hdiff_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.la ../libsrc/libmfhdf.la
-
- #############################################################################
- ## Testing ##
-@@ -32,8 +32,8 @@
- noinst_PROGRAMS = hdifftst
-
- hdifftst_SOURCES = hdifftst.c
--hdifftst_LDADD = ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a @LIBS@
--hdifftst_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.a ../libsrc/libmfhdf.a
-+hdifftst_LDADD = ../libsrc/libmfhdf.la $(top_builddir)/hdf/src/libdf.la @LIBS@
-+hdifftst_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.la ../libsrc/libmfhdf.la
-
- check: hdifftst
- @srcdir="$(srcdir)" $(SHELL) $(srcdir)/testhdiff.sh
-diff -ru hdf4.2r0.orig/mfhdf/hrepack/Makefile.am hdf4.2r0/mfhdf/hrepack/Makefile.am
---- hdf4.2r0.orig/mfhdf/hrepack/Makefile.am 2003-11-11 21:40:13.000000000 +0100
-+++ hdf4.2r0/mfhdf/hrepack/Makefile.am 2005-01-24 16:38:54.093745928 +0100
-@@ -22,8 +22,8 @@
- hrepack_opttable.c hrepack_pal.c hrepack_parse.c \
- hrepack_sds.c hrepack_sdutil.c hrepack_utils.c \
- hrepack_vg.c hrepack_vs.c
--hrepack_LDADD = ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a
--hrepack_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.a ../libsrc/libmfhdf.a
-+hrepack_LDADD = ../libsrc/libmfhdf.la $(top_builddir)/hdf/src/libdf.la
-+hrepack_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.la ../libsrc/libmfhdf.la
-
- #############################################################################
- ## Testing -- Here there be dragons. ##
-@@ -43,12 +43,12 @@
- ../hdiff/hdiff_mattbl.c ../hdiff/hdiff_misc.c \
- ../hdiff/hdiff_sds.c ../hdiff/hdiff_table.c \
- ../hdiff/hdiff_vs.c
--test_hrepack_LDADD = ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a
--test_hrepack_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.a ../libsrc/libmfhdf.a
-+test_hrepack_LDADD = ../libsrc/libmfhdf.la $(top_builddir)/hdf/src/libdf.la
-+test_hrepack_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.la ../libsrc/libmfhdf.la
-
- hrepack_check_SOURCES = hrepack_check.c
--hrepack_check_LDADD = ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a
--hrepack_check_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.a ../libsrc/libmfhdf.a
-+hrepack_check_LDADD = ../libsrc/libmfhdf.la $(top_builddir)/hdf/src/libdf.la
-+hrepack_check_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.la ../libsrc/libmfhdf.la
-
- check: test_hrepack
- @srcdir="$(srcdir)" $(SHELL) $(srcdir)/test_hrepack.sh
-diff -ru hdf4.2r0.orig/mfhdf/libsrc/Makefile.am hdf4.2r0/mfhdf/libsrc/Makefile.am
---- hdf4.2r0.orig/mfhdf/libsrc/Makefile.am 2005-01-24 16:36:23.191686000 +0100
-+++ hdf4.2r0/mfhdf/libsrc/Makefile.am 2005-01-24 16:38:54.096745472 +0100
-@@ -15,7 +15,7 @@
-
- lib_LTLIBRARIES = libmfhdf.la
-
--## Information for building the "libmfhdf.a" library
-+## Information for building the "libmfhdf.la" library
- CSOURCES=array.c attr.c cdf.c dim.c file.c hdfsds.c iarray.c error.c \
- globdef.c mfsd.c nssdc.c putget.c putgetg.c sharray.c string.c \
- var.c xdrposix.c
-@@ -49,10 +49,10 @@
- check_PROGRAMS = cdftest hdftest
-
- cdftest_SOURCES = cdftest.c
--cdftest_LDADD = libmfhdf.a $(top_builddir)/hdf/src/libdf.a @LIBS@
-+cdftest_LDADD = libmfhdf.la $(top_builddir)/hdf/src/libdf.la @LIBS@
-
- hdftest_SOURCES = hdftest.c tszip.c
--hdftest_LDADD = libmfhdf.a $(top_builddir)/hdf/src/libdf.a @LIBS@
-+hdftest_LDADD = libmfhdf.la $(top_builddir)/hdf/src/libdf.la @LIBS@
-
- check:
- @echo "============================"
-diff -ru hdf4.2r0.orig/mfhdf/ncdump/Makefile.am hdf4.2r0/mfhdf/ncdump/Makefile.am
---- hdf4.2r0.orig/mfhdf/ncdump/Makefile.am 2003-11-07 19:39:00.000000000 +0100
-+++ hdf4.2r0/mfhdf/ncdump/Makefile.am 2005-01-24 16:38:54.097745320 +0100
-@@ -19,8 +19,8 @@
-
- ## Information for building the "ncdump" program
- ncdump_SOURCES = dumplib.c ncdump.c vardata.c
--ncdump_LDADD = ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a
--ncdump_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.a ../libsrc/libmfhdf.a
-+ncdump_LDADD = ../libsrc/libmfhdf.la $(top_builddir)/hdf/src/libdf.la
-+ncdump_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.la ../libsrc/libmfhdf.la
-
- check: ncdump $(srcdir)/test0.cdl
- ../ncgen/ncgen -o test0.nc -n $(srcdir)/test0.cdl
-diff -ru hdf4.2r0.orig/mfhdf/ncgen/Makefile.am hdf4.2r0/mfhdf/ncgen/Makefile.am
---- hdf4.2r0.orig/mfhdf/ncgen/Makefile.am 2003-11-07 19:39:04.000000000 +0100
-+++ hdf4.2r0/mfhdf/ncgen/Makefile.am 2005-01-24 16:38:54.116742432 +0100
-@@ -19,8 +19,8 @@
- ## Information for building the "ncgen" program
- ncgen_SOURCES = close.c escapes.c generate.c genlib.c getfill.c init.c \
- load.c main.c ncgentab.c
--ncgen_LDADD = ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a
--ncgen_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.a ../libsrc/libmfhdf.a
-+ncgen_LDADD = ../libsrc/libmfhdf.la $(top_builddir)/hdf/src/libdf.la
-+ncgen_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.la ../libsrc/libmfhdf.la
-
- ## Recipe for building the ncgentab.c file
- ncgentab.c ncgentab.h: ncgen.h ncgen.y ncgenyy.c
-diff -ru hdf4.2r0.orig/mfhdf/nctest/Makefile.am hdf4.2r0/mfhdf/nctest/Makefile.am
---- hdf4.2r0.orig/mfhdf/nctest/Makefile.am 2003-11-07 19:39:09.000000000 +0100
-+++ hdf4.2r0/mfhdf/nctest/Makefile.am 2005-01-24 16:38:54.118742128 +0100
-@@ -22,8 +22,8 @@
- error.c misctest.c rec.c slabs.c val.c varget_unlim.c \
- varget.c vargetg.c varput.c varputg.c vardef.c vartests.c \
- vputget.c vputgetg.c
--nctest_LDADD = ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a
--nctest_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.a ../libsrc/libmfhdf.a
-+nctest_LDADD = ../libsrc/libmfhdf.la $(top_builddir)/hdf/src/libdf.la
-+nctest_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.la ../libsrc/libmfhdf.la
-
- #############################################################################
- ## And the cleanup ##
diff --git a/sci-libs/hdf/hdf-4.2.0-r4.ebuild b/sci-libs/hdf/hdf-4.2.0-r4.ebuild
deleted file mode 100644
index 3c1afe273fe2..000000000000
--- a/sci-libs/hdf/hdf-4.2.0-r4.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf/hdf-4.2.0-r4.ebuild,v 1.5 2009/05/11 07:15:32 nerdboy Exp $
-
-inherit autotools eutils flag-o-matic fortran toolchain-funcs
-
-# substitute second dot by "r"
-MY_PV="${PV/./X}"
-TMP_PV="${MY_PV/./r}"
-MY_PV="${TMP_PV/X/.}"
-
-S="${WORKDIR}/${PN}${MY_PV}"
-
-DESCRIPTION="HDF4 is a general purpose library and file format for storing scientific data."
-SRC_URI="ftp://ftp.ncsa.uiuc.edu/HDF/pub/outgoing/hdf4/hdf${MY_PV}/hdf${MY_PV}.tar.gz"
-HOMEPAGE="http://hdf.ncsa.uiuc.edu/hdf4.html"
-
-LICENSE="NCSA-HDF"
-KEYWORDS="amd64 ppc x86"
-SLOT="0"
-IUSE="szip"
-
-DEPEND="sys-libs/zlib
- media-libs/jpeg
- >=sys-apps/sed-4
- szip? ( sci-libs/szip )"
-
-pkg_setup() {
- fortran_pkg_setup
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # We need shared libraries, see BUG #75415.
- # Danny van Dyk <kugelfang@gentoo.org> 2005/01/24
- epatch "${FILESDIR}"/${P}-shared-libs.patch
- eautoreconf
-}
-
-src_compile() {
- # BUG #75415, the shipped config/linux-gnu settings are broken.
- # -Wsign-compare does not work with g77, causing lack of -fPIC for shared
- # objects.
- sed -i \
- -e 's|-Wsign-compare||g' \
- -e "s|/some/default/compiler/named/foo|$(tc-getCXX)|" \
- -e "s|BASENAME=foo|$(tc-getCXX)|" \
- -e "s|CC=gcc|CC=$(tc-getCC)|" \
- -e "s|CC_BASENAME=gcc|CC_BASENAME=$(tc-getCC)|" \
- -e "s|F77=g77|F77=${FORTRANC}|" \
- -e "s|F77_BASENAME=g77|F77_BASENAME=${FORTRANC}|" \
- -e "s|-O3 -fomit-frame-pointer|${CFLAGS}|" \
- "${S}"/config/linux-gnu || die
-
- local myconf="--enable-production --with-fortran"
-
- use szip && myconf="${myconf} --with-szlib=/usr"
- use ppc && append-flags -DSUN
-
- econf \
- ${myconf} \
- F77="${FORTRANC} -fno-second-underscore -std=legacy -ff2c" \
- || die "configure failed"
-
- make LDFLAGS="${LDFLAGS} -lm" || die "make failed"
-}
-
-src_install() {
- make DESTDIR="${D}" install || die "make install failed"
- dodoc README release_notes/*.txt || die
- cd "${D}"
- einfo "Renaming included versions of ncdump and ncgen to hdfdump and hdfgen, respectively."
- mv -v usr/bin/ncgen usr/bin/hdfgen || die
- mv -v usr/bin/ncdump usr/bin/hdfdump || die
- mv -v usr/share/man/man1/ncgen.1 usr/share/man/man1/hdfgen.1 || die
- mv -v usr/share/man/man1/ncdump.1 usr/share/man/man1/hdfdump.1 || die
- if has_version sci-libs/netcdf; then
- einfo '"sci-libs/netcdf" is already installed - not installing netcdf related header files.'
- rm -v usr/include/netcdf.inc || die
- rm -v usr/include/netcdf.h || die
- fi
-}