diff options
-rw-r--r-- | sci-libs/qrupdate/ChangeLog | 8 | ||||
-rw-r--r-- | sci-libs/qrupdate/files/qrupdate-1.0.1-makefile.patch | 24 | ||||
-rw-r--r-- | sci-libs/qrupdate/files/qrupdate-1.1.0-darwin-dylib.patch | 51 | ||||
-rw-r--r-- | sci-libs/qrupdate/files/qrupdate-1.1.0-destdir.patch | 40 | ||||
-rw-r--r-- | sci-libs/qrupdate/qrupdate-1.0.1.ebuild | 48 | ||||
-rw-r--r-- | sci-libs/qrupdate/qrupdate-1.1.0-r1.ebuild | 52 | ||||
-rw-r--r-- | sci-libs/qrupdate/qrupdate-1.1.0.ebuild | 48 | ||||
-rw-r--r-- | sci-libs/udunits/ChangeLog | 9 | ||||
-rw-r--r-- | sci-libs/udunits/files/udunits-1.12.11-fixingtests.patch | 11 | ||||
-rw-r--r-- | sci-libs/udunits/files/udunits-2.1.11-autotools.patch | 63 | ||||
-rw-r--r-- | sci-libs/udunits/files/udunits_configure_in.patch | 10 | ||||
-rw-r--r-- | sci-libs/udunits/files/udunits_customize.patch | 12 | ||||
-rw-r--r-- | sci-libs/udunits/files/udunits_lib_make.patch | 30 | ||||
-rw-r--r-- | sci-libs/udunits/files/udunits_master_mk.patch | 39 | ||||
-rw-r--r-- | sci-libs/udunits/udunits-1.12.1.ebuild | 81 | ||||
-rw-r--r-- | sci-libs/udunits/udunits-1.12.11.ebuild | 97 | ||||
-rw-r--r-- | sci-libs/udunits/udunits-2.1.11-r1.ebuild | 37 |
17 files changed, 15 insertions, 645 deletions
diff --git a/sci-libs/qrupdate/ChangeLog b/sci-libs/qrupdate/ChangeLog index 6dd5e168e9bc..8f48085de379 100644 --- a/sci-libs/qrupdate/ChangeLog +++ b/sci-libs/qrupdate/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-libs/qrupdate # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/qrupdate/ChangeLog,v 1.16 2010/07/09 09:37:36 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/qrupdate/ChangeLog,v 1.17 2010/12/01 16:45:03 bicatali Exp $ + + 01 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org> -qrupdate-1.0.1.ebuild, + -files/qrupdate-1.0.1-makefile.patch, -qrupdate-1.1.0.ebuild, + -qrupdate-1.1.0-r1.ebuild, -files/qrupdate-1.1.0-darwin-dylib.patch, + -files/qrupdate-1.1.0-destdir.patch: + Remove old 09 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> qrupdate-1.1.0.ebuild: ppc64 stable wrt #318649 diff --git a/sci-libs/qrupdate/files/qrupdate-1.0.1-makefile.patch b/sci-libs/qrupdate/files/qrupdate-1.0.1-makefile.patch deleted file mode 100644 index fa8925fd8bb6..000000000000 --- a/sci-libs/qrupdate/files/qrupdate-1.0.1-makefile.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -Naur qrupdate-1.0.1/Makefile qrupdate-1.0.1.new/Makefile ---- qrupdate-1.0.1/Makefile 2009-02-06 04:12:00.000000000 -0500 -+++ qrupdate-1.0.1.new/Makefile 2009-09-10 09:55:32.000000000 -0400 -@@ -34,7 +34,7 @@ - lib: - make -C src/ lib - solib: -- make -C src/ solib -+ +make -C src/ solib - test: lib - make -C test/ - -diff -Naur qrupdate-1.0.1/src/Makefile qrupdate-1.0.1.new/src/Makefile ---- qrupdate-1.0.1/src/Makefile 2009-02-06 04:12:50.000000000 -0500 -+++ qrupdate-1.0.1.new/src/Makefile 2009-09-10 09:49:29.000000000 -0400 -@@ -40,7 +40,7 @@ - ar -cr $@ $(OBJS) - - ../libqrupdate.so: $(OBJS) -- $(FC) $(FFLAGS) -shared -o $@ -Wl,-soname=libqrupdate.so.$(MAJOR) $(OBJS) \ -+ $(FC) $(FFLAGS) $(LDFLAGS) -shared -o $@ -Wl,-soname=libqrupdate.so.$(MAJOR) $(OBJS) \ - $(BLAS) $(LAPACK) - - $(OBJS): %.o: %.f diff --git a/sci-libs/qrupdate/files/qrupdate-1.1.0-darwin-dylib.patch b/sci-libs/qrupdate/files/qrupdate-1.1.0-darwin-dylib.patch deleted file mode 100644 index b2e3f109d156..000000000000 --- a/sci-libs/qrupdate/files/qrupdate-1.1.0-darwin-dylib.patch +++ /dev/null @@ -1,51 +0,0 @@ -Add support for building Mach-O dylibs on Darwin. - -Applied upstream: -http://qrupdate.svn.sourceforge.net/viewvc/qrupdate?view=rev&revision=21 - ---- src/Makefile -+++ src/Makefile -@@ -36,7 +36,12 @@ - - lib: ../libqrupdate.a - --solib: ../libqrupdate.so -+ifeq ($(shell uname),Darwin) -+SOEXT=.dylib -+else -+SOEXT=.so -+endif -+solib: ../libqrupdate$(SOEXT) - - ../libqrupdate.a: $(OBJS) - ar -cr $@ $(OBJS) -@@ -45,6 +47,10 @@ - $(FC) $(FFLAGS) $(LDFLAGS) -shared -o $@ -Wl,-soname=libqrupdate.so.$(MAJOR) $(OBJS) \ - $(BLAS) $(LAPACK) - -+../libqrupdate.dylib: $(OBJS) -+ $(FC) $(FFLAGS) $(LDFLAGS) -dynamiclib -o $@ -install_name $(PREFIX)/$(LIBDIR)/libqrupdate.$(MAJOR).dylib $(OBJS) \ -+ $(BLAS) $(LAPACK) -+ - $(OBJS): %.o: %.f - $(FC) $(FFLAGS) $(FPICFLAGS) -c $< - -@@ -59,10 +63,17 @@ - - install: install-shlib install-staticlib - --install-shlib: ../libqrupdate.so -+install-shlib: ../libqrupdate$(SOEXT) install-lib$(SOEXT) -+ -+install-lib.so: - install -D -m644 ../libqrupdate.so $(PREFIX)/$(LIBDIR)/libqrupdate.so.$(VERSION) - ln -s libqrupdate.so.$(VERSION) $(PREFIX)/$(LIBDIR)/libqrupdate.so.$(MAJOR) - ln -s libqrupdate.so.$(VERSION) $(PREFIX)/$(LIBDIR)/libqrupdate.so - -+install-lib.dylib: -+ install -D -m644 ../libqrupdate.dylib $(PREFIX)/$(LIBDIR)/libqrupdate.$(VERSION).dylib -+ ln -s libqrupdate.$(VERSION).dylib $(PREFIX)/$(LIBDIR)/libqrupdate.$(MAJOR).dylib -+ ln -s libqrupdate.$(VERSION).dylib $(PREFIX)/$(LIBDIR)/libqrupdate.dylib -+ - install-staticlib: ../libqrupdate.a - install -D -m644 ../libqrupdate.a $(PREFIX)/$(LIBDIR)/libqrupdate.a diff --git a/sci-libs/qrupdate/files/qrupdate-1.1.0-destdir.patch b/sci-libs/qrupdate/files/qrupdate-1.1.0-destdir.patch deleted file mode 100644 index b0ff69b29d0f..000000000000 --- a/sci-libs/qrupdate/files/qrupdate-1.1.0-destdir.patch +++ /dev/null @@ -1,40 +0,0 @@ -Support DESTDIR installs - -http://qrupdate.svn.sourceforge.net/viewvc/qrupdate?view=rev&revision=22 - ---- Makeconf -+++ Makeconf -@@ -17,6 +17,9 @@ - # The default library dir - LIBDIR=lib - -+# Destination installation offset -+DESTDIR= -+ - # set default prefix to /usr/local - ifeq ($(strip $(PREFIX)),) - PREFIX=/usr/local ---- src/Makefile -+++ src/Makefile -@@ -65,14 +65,14 @@ - install-shlib: ../libqrupdate$(SOEXT) install-lib$(SOEXT) - - install-lib.so: -- install -D -m644 ../libqrupdate.so $(PREFIX)/$(LIBDIR)/libqrupdate.so.$(VERSION) -- ln -s libqrupdate.so.$(VERSION) $(PREFIX)/$(LIBDIR)/libqrupdate.so.$(MAJOR) -- ln -s libqrupdate.so.$(VERSION) $(PREFIX)/$(LIBDIR)/libqrupdate.so -+ install -D -m644 ../libqrupdate.so $(DESTDIR)$(PREFIX)/$(LIBDIR)/libqrupdate.so.$(VERSION) -+ ln -s libqrupdate.so.$(VERSION) $(DESTDIR)$(PREFIX)/$(LIBDIR)/libqrupdate.so.$(MAJOR) -+ ln -s libqrupdate.so.$(VERSION) $(DESTDIR)$(PREFIX)/$(LIBDIR)/libqrupdate.so - - install-lib.dylib: -- install -D -m644 ../libqrupdate.dylib $(PREFIX)/$(LIBDIR)/libqrupdate.$(VERSION).dylib -- ln -s libqrupdate.$(VERSION).dylib $(PREFIX)/$(LIBDIR)/libqrupdate.$(MAJOR).dylib -- ln -s libqrupdate.$(VERSION).dylib $(PREFIX)/$(LIBDIR)/libqrupdate.dylib -+ install -D -m644 ../libqrupdate.dylib $(DESTDIR)$(PREFIX)/$(LIBDIR)/libqrupdate.$(VERSION).dylib -+ ln -s libqrupdate.$(VERSION).dylib $(DESTDIR)$(PREFIX)/$(LIBDIR)/libqrupdate.$(MAJOR).dylib -+ ln -s libqrupdate.$(VERSION).dylib $(DESTDIR)$(PREFIX)/$(LIBDIR)/libqrupdate.dylib - - install-staticlib: ../libqrupdate.a -- install -D -m644 ../libqrupdate.a $(PREFIX)/$(LIBDIR)/libqrupdate.a -+ install -D -m644 ../libqrupdate.a $(DESTDIR)$(PREFIX)/$(LIBDIR)/libqrupdate.a diff --git a/sci-libs/qrupdate/qrupdate-1.0.1.ebuild b/sci-libs/qrupdate/qrupdate-1.0.1.ebuild deleted file mode 100644 index 16433c40f14f..000000000000 --- a/sci-libs/qrupdate/qrupdate-1.0.1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/qrupdate/qrupdate-1.0.1.ebuild,v 1.7 2010/01/12 05:16:13 markusle Exp $ - -EAPI="2" - -inherit eutils fortran - -DESCRIPTION="A library for fast updating of QR and Cholesky decompositions" -HOMEPAGE="http://sourceforge.net/projects/qrupdate" -SRC_URI="mirror://sourceforge/qrupdate/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" -IUSE="" - -RDEPEND="virtual/blas - virtual/lapack" -DEPEND="${RDEPEND} - dev-util/pkgconfig" - -FORTRAN="gfortran ifc g77" - -src_prepare() { - epatch "${FILESDIR}"/${P}-makefile.patch - - local BLAS_LIBS="$(pkg-config --libs blas)" - local LAPACK_LIBS="$(pkg-config --libs lapack)" - - sed -i Makeconf \ - -e "s:gfortran:${FORTRANC}:g" \ - -e "s:FFLAGS=.*:FFLAGS=${FFLAGS}:" \ - -e "s:BLAS=.*:BLAS=${BLAS_LIBS}:" \ - -e "s:LAPACK=.*:LAPACK=${LAPACK_LIBS}:" \ - || die "Failed to set up Makeconf" -} - -src_compile() { - emake solib || die "emake failed" -} - -src_install() { - dolib.so libqrupdate.so \ - || die "Failed to install libqrupdate.so" - - dodoc README ChangeLog || die "dodoc failed" -} diff --git a/sci-libs/qrupdate/qrupdate-1.1.0-r1.ebuild b/sci-libs/qrupdate/qrupdate-1.1.0-r1.ebuild deleted file mode 100644 index 120af96395ff..000000000000 --- a/sci-libs/qrupdate/qrupdate-1.1.0-r1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/qrupdate/qrupdate-1.1.0-r1.ebuild,v 1.2 2010/01/22 14:09:12 markusle Exp $ - -EAPI="2" - -inherit eutils fortran multilib - -DESCRIPTION="A library for fast updating of QR and Cholesky decompositions" -HOMEPAGE="http://sourceforge.net/projects/qrupdate" -SRC_URI="mirror://sourceforge/qrupdate/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" -IUSE="" - -RDEPEND="virtual/blas - virtual/lapack" -DEPEND="${RDEPEND} - dev-util/pkgconfig" - -FORTRAN="gfortran ifc g77" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-1.0.1-makefile.patch - # both patches below are already in upstream SVN - epatch "${FILESDIR}"/${PN}-1.1.0-darwin-dylib.patch - epatch "${FILESDIR}"/${PN}-1.1.0-destdir.patch - - local BLAS_LIBS="$(pkg-config --libs blas)" - local LAPACK_LIBS="$(pkg-config --libs lapack)" - - sed -i Makeconf \ - -e "s:gfortran:${FORTRANC}:g" \ - -e "s:FFLAGS=.*:FFLAGS=${FFLAGS}:" \ - -e "s:BLAS=.*:BLAS=${BLAS_LIBS}:" \ - -e "s:LAPACK=.*:LAPACK=${LAPACK_LIBS}:" \ - -e "/^LIBDIR=/a\PREFIX=${EPREFIX}/usr" \ - -e "s:LIBDIR=lib:LIBDIR=$(get_libdir):" \ - || die "Failed to set up Makeconf" -} - -src_compile() { - emake solib || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install-shlib || die "emake install failed" - - dodoc README ChangeLog || die "dodoc failed" -} diff --git a/sci-libs/qrupdate/qrupdate-1.1.0.ebuild b/sci-libs/qrupdate/qrupdate-1.1.0.ebuild deleted file mode 100644 index 3a9bf2d81aa0..000000000000 --- a/sci-libs/qrupdate/qrupdate-1.1.0.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/qrupdate/qrupdate-1.1.0.ebuild,v 1.7 2010/07/09 09:37:36 ssuominen Exp $ - -EAPI="2" - -inherit eutils fortran - -DESCRIPTION="A library for fast updating of QR and Cholesky decompositions" -HOMEPAGE="http://sourceforge.net/projects/qrupdate" -SRC_URI="mirror://sourceforge/qrupdate/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86" -IUSE="" - -RDEPEND="virtual/blas - virtual/lapack" -DEPEND="${RDEPEND} - dev-util/pkgconfig" - -FORTRAN="gfortran ifc g77" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-1.0.1-makefile.patch - - local BLAS_LIBS="$(pkg-config --libs blas)" - local LAPACK_LIBS="$(pkg-config --libs lapack)" - - sed -i Makeconf \ - -e "s:gfortran:${FORTRANC}:g" \ - -e "s:FFLAGS=.*:FFLAGS=${FFLAGS}:" \ - -e "s:BLAS=.*:BLAS=${BLAS_LIBS}:" \ - -e "s:LAPACK=.*:LAPACK=${LAPACK_LIBS}:" \ - || die "Failed to set up Makeconf" -} - -src_compile() { - emake solib || die "emake failed" -} - -src_install() { - dolib.so libqrupdate.so \ - || die "Failed to install libqrupdate.so" - - dodoc README ChangeLog || die "dodoc failed" -} diff --git a/sci-libs/udunits/ChangeLog b/sci-libs/udunits/ChangeLog index 4a0da10df5a2..3fcbc1cac45e 100644 --- a/sci-libs/udunits/ChangeLog +++ b/sci-libs/udunits/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-libs/udunits # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/udunits/ChangeLog,v 1.12 2010/09/12 19:24:00 klausman Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/udunits/ChangeLog,v 1.13 2010/12/01 16:48:33 bicatali Exp $ + + 01 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org> -udunits-1.12.1.ebuild, + -udunits-1.12.11.ebuild, -files/udunits-1.12.11-fixingtests.patch, + -udunits-2.1.11-r1.ebuild, -files/udunits-2.1.11-autotools.patch, + -files/udunits_configure_in.patch, -files/udunits_customize.patch, + -files/udunits_lib_make.patch, -files/udunits_master_mk.patch: + Remove old 12 Sep 2010; Tobias Klausmann <klausman@gentoo.org> udunits-2.1.15.ebuild: Stable on alpha, bug #326431 diff --git a/sci-libs/udunits/files/udunits-1.12.11-fixingtests.patch b/sci-libs/udunits/files/udunits-1.12.11-fixingtests.patch deleted file mode 100644 index 56c9f94a4755..000000000000 --- a/sci-libs/udunits/files/udunits-1.12.11-fixingtests.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- udunits-1.12.3.orig/src/Makefile.in 2003-08-29 20:27:07.000000000 +0200 -+++ udunits-1.12.3/src/Makefile.in 2009-12-05 12:02:30.223865360 +0100 -@@ -30,6 +30,8 @@ - - all: port/all lib/all udunits/all @PERL_ALL@ - -+check: test -+ - test: FORCE udunits/test perl_test - - install: port/install lib/install udunits/install \ diff --git a/sci-libs/udunits/files/udunits-2.1.11-autotools.patch b/sci-libs/udunits/files/udunits-2.1.11-autotools.patch deleted file mode 100644 index 513b4cd061b8..000000000000 --- a/sci-libs/udunits/files/udunits-2.1.11-autotools.patch +++ /dev/null @@ -1,63 +0,0 @@ ---- Makefile.am.orig 2009-12-15 06:15:11.000000000 +0000 -+++ Makefile.am 2009-12-15 06:17:07.000000000 +0000 -@@ -5,8 +5,8 @@ - # redistribution conditions. - # - ## Process this file with automake to produce Makefile.in --DIST_SUBDIRS = expat lib prog test --SUBDIRS = expat lib prog -+DIST_SUBDIRS = lib prog test -+SUBDIRS = lib prog - info_TEXINFOS = udunits2.texi - udunits2_TEXINFOS = success.texi failure.texi make.texi - EXTRA_DIST = \ ---- configure.ac.orig 2009-12-15 06:15:21.000000000 +0000 -+++ configure.ac 2009-12-15 06:16:32.000000000 +0000 -@@ -13,7 +13,7 @@ - AC_CONFIG_AUX_DIR([.]) - AC_CONFIG_SRCDIR([lib/converter.c]) - AM_INIT_AUTOMAKE([foreign subdir-objects no-installinfo]) --AC_CONFIG_HEADERS([config.h expat/expat_config.h]) -+AC_CONFIG_HEADERS([config.h]) - - CFLAGS_COVERAGE='' - LIBS_COVERAGE='' -@@ -37,7 +37,7 @@ - CFLAGS="${CFLAGS:+$CFLAGS }-g -O0" - debug=true ;; - no) -- CFLAGS="${CFLAGS:+$CFLAGS }-O" -+ CFLAGS="${CFLAGS:+$CFLAGS }" - debug=false ;; - *) AC_MSG_ERROR([bad value ${enableval} for --enable-debug]) ;; - esac], -@@ -125,18 +125,12 @@ - AC_C_CONST - AC_TYPE_SIZE_T - --# Needed for the Expat subpackage: --AC_C_BIGENDIAN([byteorder=4321],[byteorder=1234]) --AC_DEFINE_UNQUOTED([BYTEORDER],[$byteorder], [Define to 4321 for big-endian and 1234 for little-endian]) --AC_DEFINE([XML_CONTEXT_BYTES], 1024, [Define to specify how much context to retain around the current parse point.]) -- - # Checks for library functions. - AC_CHECK_FUNCS([floor memmove memset modf pow strcasecmp strdup strpbrk]) - - AC_PROG_LIBTOOL - - AC_CONFIG_FILES([Makefile -- expat/Makefile - lib/Makefile - lib/xmlFailures/Makefile - lib/xmlSuccesses/Makefile ---- lib/Makefile.am.orig 2009-12-15 06:30:11.000000000 +0000 -+++ lib/Makefile.am 2009-12-15 06:31:10.000000000 +0000 -@@ -38,7 +38,7 @@ - LFLAGS = -d -P$(lex_prefix) - - LDADD = libudunits2.la @LIBS_CUNIT@ -lm @LIBS_COVERAGE@ --libudunits2_la_LIBADD = ../expat/libexpat.la -+libudunits2_la_LIBADD = -lexpat - libudunits2_la_CFLAGS = @CFLAGS_COVERAGE@ - include_HEADERS = udunits2.h converter.h - EXTRA_DIST = \ diff --git a/sci-libs/udunits/files/udunits_configure_in.patch b/sci-libs/udunits/files/udunits_configure_in.patch deleted file mode 100644 index bf77a4fac0c6..000000000000 --- a/sci-libs/udunits/files/udunits_configure_in.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- configure.in.orig 2001-06-11 11:23:56.000000000 -0700 -+++ configure.in 2003-10-28 10:30:18.000000000 -0800 -@@ -43,7 +43,6 @@ - UC_FINISH( - Makefile - lib/Makefile -- lib/udunits.inc - udunits/Makefile - perl/Makefile.PL - ) diff --git a/sci-libs/udunits/files/udunits_customize.patch b/sci-libs/udunits/files/udunits_customize.patch deleted file mode 100644 index a7a5f9bac79b..000000000000 --- a/sci-libs/udunits/files/udunits_customize.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- CUSTOMIZE.orig 2004-05-08 14:04:53.199958510 -0700 -+++ CUSTOMIZE 2004-05-08 13:58:48.843900138 -0700 -@@ -33,3 +33,9 @@ - # Ancillary libraries. SunOS 4 user's might need something like the - # following in order to resolve strerror() in the perl/ subdirectory. - # LIBS='-L/usr/lang/SC3.0.1/lib -lansi' -+ -+FC=g77 -+CPPFLAGS=-Df2cFortran -+CC=gcc -+CXX=g++ -+LD_MATH=-lm diff --git a/sci-libs/udunits/files/udunits_lib_make.patch b/sci-libs/udunits/files/udunits_lib_make.patch deleted file mode 100644 index f1dd947f8d3c..000000000000 --- a/sci-libs/udunits/files/udunits_lib_make.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- lib/Makefile.in.orig 1997-04-30 14:49:58.000000000 -0700 -+++ lib/Makefile.in 2003-10-28 12:05:06.000000000 -0800 -@@ -6,15 +6,15 @@ - - LIBRARY = udunits - --FLEX = /usr/local/gnu/bin/flex --cpp_path = -DUT_DEFAULT_PATH='"$(prefix)/etc/udunits.dat"' -+FLEX = /usr/bin/flex -+cpp_path = -DUT_DEFAULT_PATH='"/etc/udunits.dat"' - CPPFLAGS = -I../port/misc -I../port/cfortran $(cpp_path) @CPPFLAGS@ - CFLAGS = @CFLAGS@ - - OBJS = udunits.o - LIBOBJS = utlib.o utparse.o utscan.o udalloc.o - --HEADERS = udunits.h udunits.inc -+HEADERS = udunits.h - ETCFILES = udunits.dat - MANUALS = udunits.3 udunits.3f - prefix = ../.. -@@ -27,7 +27,7 @@ - MANIFEST = Makefile.in \ - depend \ - udunits.3 udunits.3f udunits.3fi testcal2.f \ -- udunits.dat udunits.h udunits.inc utlib.c \ -+ udunits.dat udunits.h utlib.c \ - utparse.y utparse.c utparse.h \ - utprivate.h utscan.h utscan.l utscan.c - diff --git a/sci-libs/udunits/files/udunits_master_mk.patch b/sci-libs/udunits/files/udunits_master_mk.patch deleted file mode 100644 index 47a3f5c202ba..000000000000 --- a/sci-libs/udunits/files/udunits_master_mk.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- port/master.mk.in.orig 1998-11-25 08:26:56.000000000 -0800 -+++ port/master.mk.in 2003-11-02 17:47:46.000000000 -0800 -@@ -351,7 +351,7 @@ - ############################################################################ - # `etc/' files: - ############################################################################ --ETCDIR = $(prefix)/etc -+ETCDIR = /etc - ETCFILE = dummy-etcfile # to silence GNU make(1) - - installed_etcfiles: -@@ -372,7 +372,7 @@ - installed_etcfile: $(ETCDIR)/$(ETCFILE) - - $(ETCDIR)/dummy $(ETCDIR)/$(ETCFILE): $(ETCDIR) $(ETCFILE) -- cp $(ETCFILE) $@ -+ cp $(ETCFILE) ${D}$@ - - dummy_etcdir $(ETCDIR): - mkdir -p $@ -@@ -382,7 +382,7 @@ - ############################################################################ - # Manual Pages: - ############################################################################ --MANDIR = $(prefix)/man -+MANDIR = $(prefix)/share/man - MANUAL = dummy-manual # to slience GNU make - WHATIS = @WHATIS@ - # The following macro should be empty on systems that don't -@@ -443,9 +443,6 @@ - else \ - mkdir $(MANDIR)$$subchapter; \ - fi; \ -- rm -f $(MANDIR)$$subchapter/$(MANUAL); \ -- ln -s ../`basename $(MANDIR)`/$(MANUAL) \ -- $(MANDIR)$$subchapter/$(MANUAL); \ - ;; \ - esac - diff --git a/sci-libs/udunits/udunits-1.12.1.ebuild b/sci-libs/udunits/udunits-1.12.1.ebuild deleted file mode 100644 index 57af71b3acec..000000000000 --- a/sci-libs/udunits/udunits-1.12.1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/udunits/udunits-1.12.1.ebuild,v 1.2 2005/11/28 12:04:37 mcummings Exp $ - -inherit eutils flag-o-matic - -IUSE="" - -S=${WORKDIR}/${P}/src -SP=${WORKDIR}/${P}/src/perl -DESCRIPTION="The UCAR/Unidata Units library" -HOMEPAGE="http://www.unidata.ucar.edu/packages/udunits/" -SRC_URI="ftp://unidata.ucar.edu/pub/udunits/udunits-${PV}.tar.Z" - -SLOT="0" -LICENSE="UCAR-Unidata" -KEYWORDS="x86 ~amd64 ~ppc ~sparc alpha ~mips ~hppa" - -DEPEND="dev-lang/perl - sys-apps/sed" - -RDEPEND="dev-lang/perl" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/udunits_customize.patch || die "epatch failed" -} - -src_compile() { - export CPPFLAGS="-Df2cFortran -D_POSIX_SOURCE" - append-flags -fPIC - econf || die "econf failed" - - cd lib - emake || die - cd .. - - cd perl - perl Makefile.PL PREFIX=${D}/usr - cd .. - - emake || die - emake test || die -} - -src_install() { - sed "s?/usr?${D}/usr?" Makefile > Makefile.install - emake -f Makefile.install install - - dodir /etc /usr/share/man/man3 /usr/share/man/man3f - - insinto /etc - insopts -m 644 - doins lib/udunits.dat - - insinto /usr/share/man/man3 - doins lib/udunits.3 - insinto /usr/share/man/man3f - doins lib/udunits.3f - - cd perl - make PREFIX=${D}/usr install INSTALLSITEMAN1DIR=${D}/usr/share/man/man1 - cd .. - - find ${D} -type f -a \( -name perllocal.pod -o -name .packlist \ - -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' - find ${D} -type d -depth -exec rmdir {} 2>/dev/null ';' - - chmod -R u+w ${D}/* - - dodoc COPYRIGHT README RELEASE_NOTES VERSION CUSTOMIZE INSTALL -} - -pkg_postinst() { - ewarn "This package requires a Fortran compiler for maximum utility." - ewarn "For now, make sure you have at least g77 for the f77 interface." - ewarn "The internal configure should detect many f77 compilers, however," - ewarn "if you have the PG compiler you will need to change the above" - ewarn "preprocessor macro to something like -Dpgifortran." -} diff --git a/sci-libs/udunits/udunits-1.12.11.ebuild b/sci-libs/udunits/udunits-1.12.11.ebuild deleted file mode 100644 index fb0458edd302..000000000000 --- a/sci-libs/udunits/udunits-1.12.11.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/udunits/udunits-1.12.11.ebuild,v 1.1 2010/06/23 08:29:31 jlec Exp $ - -inherit eutils flag-o-matic fortran perl-module toolchain-funcs - -IUSE="" - -S=${WORKDIR}/${P}/src -SP=${WORKDIR}/${P}/src/perl -DESCRIPTION="The UCAR/Unidata Units library" -HOMEPAGE="http://www.unidata.ucar.edu/packages/udunits/" -SRC_URI="ftp://ftp.unidata.ucar.edu/pub/udunits/udunits-${PV}.tar.gz" - -SLOT="0" -LICENSE="UCAR-Unidata" -KEYWORDS="~x86 ~amd64 ~ppc ~sparc ~alpha ~mips ~hppa" - -DEPEND="dev-lang/perl - sys-apps/sed" - -RDEPEND="dev-lang/perl" - -src_unpack() { - unpack ${A} - cd "${S}" - sed -i -e "s:\${prefix}/etc:/etc:g" \ - -i -e "s:\${prefix}/man:\${prefix}/share/man:g" \ - -i -e "s:\${exec_prefix}/lib:\${exec_prefix}/$(get_libdir):g" \ - configure || die "sed 1 failed" - epatch "${FILESDIR}/${P}-fixingtests.patch" -} - -src_compile() { - export CPPFLAGS="-Df2cFortran -D_POSIX_SOURCE" - export CFLAGS="${CFLAGS}" - export FC="${FORTRANC}" - export CC="$(tc-getCC)" - export CXX="$(tc-getCXX)" - export LD_MATH="-lm" - # This is needed for the perl shared object build - append-flags -fPIC - - econf || die "econf failed" - - cd "${S}"/lib - emake || die "emake lib failed" - cd "${S}" - - cd "${S}"/perl - perl-module_src_prep - perl-module_src_compile - cd "${S}" - - # random compile failures with -jN (when N > 1) - emake -j1 || die "emake died" -} - -src_test() { - make check || die "make test failed" -} - -src_install() { - # The configure sucks, and so do the makefiles; this pretty much - # needs to be done manually... - dobin udunits/udunits - dolib.a lib/libudunits.a port/misc/libudport.a - doman udunits/udunits.1 lib/udunits.3 perl/udunitsperl.1 - - insinto /etc - doins lib/udunits.dat - insinto /usr/include - doins lib/{udunits.h,udunits.inc} - # doman still doesn't put this in the right place - insinto /usr/share/man/man3f - doins lib/udunits.3f - dodoc README RELEASE_NOTES - - fixlocalpod - cd "${S}"/perl - perl-module_src_install - cd "${S}" - - # Clean up left-over cruft... (yes, this is still needed) - find "${D}" -type f -a \( -name perllocal.pod -o -name .packlist \ - -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' - find "${D}" -type d -depth -exec rmdir {} 2>/dev/null ';' - chmod -R u+w "${D}"/* -} - -pkg_postinst() { - ewarn "This package requires a Fortran compiler for maximum utility." - ewarn "For now, make sure you have at least g77 for the f77 interface." - ewarn "The internal configure should detect many f77 compilers, however," - ewarn "if you have the PG compiler you will need to change the above" - ewarn "preprocessor macro to something like -Dpgifortran." -} diff --git a/sci-libs/udunits/udunits-2.1.11-r1.ebuild b/sci-libs/udunits/udunits-2.1.11-r1.ebuild deleted file mode 100644 index cc24a85ef832..000000000000 --- a/sci-libs/udunits/udunits-2.1.11-r1.ebuild +++ /dev/null @@ -1,37 +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/udunits/udunits-2.1.11-r1.ebuild,v 1.1 2009/12/15 06:12:18 bicatali Exp $ - -EAPI=2 -inherit eutils autotools - -DESCRIPTION="Library for manipulating units of physical quantities" -HOMEPAGE="http://www.unidata.ucar.edu/packages/udunits/" -SRC_URI="ftp://ftp.unidata.ucar.edu/pub/udunits/${P}.tar.gz" - -SLOT="0" -LICENSE="UCAR-Unidata" -KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86" - -RDEPEND="dev-libs/expat" -DEPEND="${RDEPEND}" - -IUSE="doc" - -src_prepare() { - # respect user's flags, compile with system libexpat - epatch "${FILESDIR}"/${P}-autotools.patch - rm -rf expat - eautoreconf -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc CHANGE_LOG ANNOUNCEMENT - doinfo udunits2.info prog/udunits2prog.info - if use doc; then - insinto /usr/share/doc/${PF} - doins udunits2.html udunits2.pdf - doins prog/udunits2prog.html prog/udunits2prog.pdf - fi -} |