summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-02-27 18:18:19 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-02-27 18:18:19 +0000
commit830f96afe1ba7da7f024773a73b5996bff5fee2f (patch)
treed2b00f0c510a637d067364723ff5af3308b72106 /sci-libs
parentMarking Tie-IxHash-1.220.0 ppc for bug 400243 (diff)
downloadhistorical-830f96afe1ba7da7f024773a73b5996bff5fee2f.tar.gz
historical-830f96afe1ba7da7f024773a73b5996bff5fee2f.tar.bz2
historical-830f96afe1ba7da7f024773a73b5996bff5fee2f.zip
Install samples in proper FHS directory. Python routines now installed without changing PYTHONPATH (bug #405177). Switchd to EAPI4
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/grib_api/ChangeLog11
-rw-r--r--sci-libs/grib_api/Manifest14
-rw-r--r--sci-libs/grib_api/files/grib_api-1.9.9-autotools.patch133
-rw-r--r--sci-libs/grib_api/grib_api-1.9.9-r1.ebuild (renamed from sci-libs/grib_api/grib_api-1.9.9.ebuild)18
4 files changed, 113 insertions, 63 deletions
diff --git a/sci-libs/grib_api/ChangeLog b/sci-libs/grib_api/ChangeLog
index e91853ad4a0e..10bc0ae8f2be 100644
--- a/sci-libs/grib_api/ChangeLog
+++ b/sci-libs/grib_api/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-libs/grib_api
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/grib_api/ChangeLog,v 1.8 2011/12/21 07:55:03 jlec Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/grib_api/ChangeLog,v 1.9 2012/02/27 18:18:19 bicatali Exp $
+
+*grib_api-1.9.9-r1 (27 Feb 2012)
+
+ 27 Feb 2012; SĂ©bastien Fabbro <bicatali@gentoo.org> -grib_api-1.9.9.ebuild,
+ +grib_api-1.9.9-r1.ebuild, files/grib_api-1.9.9-autotools.patch:
+ Install samples in proper FHS directory. Python routines now installed
+ without changing PYTHONPATH (bug #405177). Switchd to EAPI4
21 Dec 2011; Justin Lecher <jlec@gentoo.org> grib_api-1.9.9.ebuild:
Fix for linker failure, #391797
diff --git a/sci-libs/grib_api/Manifest b/sci-libs/grib_api/Manifest
index b33f7531aca2..776645cb2011 100644
--- a/sci-libs/grib_api/Manifest
+++ b/sci-libs/grib_api/Manifest
@@ -1,20 +1,20 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA1
AUX grib_api-1.9.5-32bit.patch 714 RMD160 e74d83441b841d01461a3fe1dab19da2b768c19a SHA1 66bc600e3ae086bf58dbb3cecb5c9e5d7f27d333 SHA256 3c34e481b41fd36390daa6cb5c20d00b5df29e75d561413b8d6c852e776216d6
AUX grib_api-1.9.5-autotools.patch 18564 RMD160 612b32ebfddfa83278b1b9e60ffdaa0a1dd01a6f SHA1 bde7a32b0f61e1921ea3eed25f9c073d149e4116 SHA256 f09112c393b5d0e62de5a6ad9f78a320393cbfa10c4d04ba1f16558e53795fbe
-AUX grib_api-1.9.9-autotools.patch 17626 RMD160 2856f832d5bed6aca26440a57290e5a8299dde25 SHA1 958edceb4b9c6864ff1ef5399afd2b3c361dfe02 SHA256 f1b8ce7f9e34b9fbfb6a9f927337ecb702eff3c0dd9231a1c8fb8a161c9bc54b
+AUX grib_api-1.9.9-autotools.patch 19021 RMD160 d53e44f105ed4ae063a95c33e70c8fb21a372900 SHA1 2c67d917c72d15b33e0a3c85b13b13a47c2447c0 SHA256 976857c1c752af8eeb06fd8d663bb5043f101302fc5b71891cf025e54994ef70
AUX grib_api-1.9.9-ieeefloat.patch 489 RMD160 3bb3c94e46dc94f95553cbb51a8e6f14e6e4e682 SHA1 efdb32af533e3757ca2ad898201e36b26fa1c01d SHA256 1319874c0b76698b940514feb3444e6d858f479feca376c33cbbbd41ed5d9747
DIST grib_api-1.9.5.tar.gz 6031267 RMD160 b0067f8b99a341d44ed1e2b1569cd7b8dba09c69 SHA1 278ca8213ea358b58a295774d66efcb65046b104 SHA256 1fbaa92e9f026548b7260e77dbd0e8201bd5629240ec4d157d6322cf7444137f
DIST grib_api-1.9.9.tar.gz 6269463 RMD160 fb2fa217edf7c07b432af91337da3cf04039fd9c SHA1 f16333363f35cbcab496118afe1fe21ae743b756 SHA256 9fef7ce41301e94ef7151d786d7000d6db94c578e32b04497f7ee1f124985ce0
EBUILD grib_api-1.9.5-r1.ebuild 1454 RMD160 980c8562bc75bd253d438bf2732b2bce5b4ec0b0 SHA1 107c361c2b2d24dd991493d28362c0e9aa350caf SHA256 9b4870de04f82750b966a1339cc944a924d0b2d607d0cc846c67e31f78be084f
-EBUILD grib_api-1.9.9.ebuild 1963 RMD160 0386ec50a14f59c74fecb7adeffe8a98cc3dfdd1 SHA1 9c13c45b7fd4b00c835230b0d6a100ff98e2d258 SHA256 9d4847b7af3300999ace6a94294cea415c958ef4c036c3e210163613798bb5c9
-MISC ChangeLog 1591 RMD160 5d7bef1f3c9075cde2aa067a0f7a5335cb791466 SHA1 ced15b7d5872af8193bedc9d80d67a81afdc57e3 SHA256 3961e752821a7184c377e4eb5542a3e42269a042ece6a5eab57fd14b7c757b22
+EBUILD grib_api-1.9.9-r1.ebuild 1807 RMD160 435a991097f1a839bae4716579fbfce9ae33f80b SHA1 ff0452fb946146363a561f77863fa900fd52b967 SHA256 efdffe994af9ee337050ae529155927decb4458721ed790858fff64a93e539ec
+MISC ChangeLog 1911 RMD160 c969c4b9aa5cbc3e4bb1b95c9146fd24673e2ecd SHA1 71dd7722a917ab29391e2bfa80d2d1609f17b5af SHA256 56039d598e05123ef5b3821aebfeea073b0ed06ddfede57f22b626617716ee0b
MISC metadata.xml 547 RMD160 027cff497339b515ee70e6a88002b6a13ae0636b SHA1 2178680f3965b593491d88e874777af50e2451ac SHA256 d8075d9dc0ecd812d815ff4a8ceb01209b7576160a1a8bc6bd5ac0aae88ba609
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEAREKAAYFAk7xkN0ACgkQgAnW8HDreRZS3wCfRWBacfBQlyFrs1sNGyRFmYDb
-lF8AoLRz1MvkXw5ygv79KdroUW6m/Klf
-=1Bvg
+iEYEARECAAYFAk9LyPQACgkQ1ycZbhPLE2ChTACeMFDemr1jjmfgfE24HndOUDf3
+mJQAoLHAf1zPoalmC1P6sQy8X7M/ID6e
+=bK25
-----END PGP SIGNATURE-----
diff --git a/sci-libs/grib_api/files/grib_api-1.9.9-autotools.patch b/sci-libs/grib_api/files/grib_api-1.9.9-autotools.patch
index 75ed88c1356f..0ef76d02e903 100644
--- a/sci-libs/grib_api/files/grib_api-1.9.9-autotools.patch
+++ b/sci-libs/grib_api/files/grib_api-1.9.9-autotools.patch
@@ -1,6 +1,6 @@
diff -Nur grib_api-1.9.9.orig/configure.ac grib_api-1.9.9/configure.ac
---- grib_api-1.9.9.orig/configure.ac 2010-10-19 13:19:26.000000000 +0100
-+++ grib_api-1.9.9/configure.ac 2011-03-08 17:20:10.000000000 +0000
+--- grib_api-1.9.9.orig/configure.ac 2012-02-27 17:41:54.000000000 +0000
++++ grib_api-1.9.9/configure.ac 2012-02-27 18:08:55.000000000 +0000
@@ -24,21 +24,9 @@
AC_CONFIG_HEADER([src/config.h])
AM_INIT_AUTOMAKE($PACKAGE_NAME,[${PACKAGE_VERSION}],[http://www.ecmwf.int])
@@ -138,6 +138,15 @@ diff -Nur grib_api-1.9.9.orig/configure.ac grib_api-1.9.9/configure.ac
then
FORTRAN_MOD=fortran
AC_SUBST(FORTRAN_MOD)
+@@ -221,7 +221,7 @@
+ then
+ IFS_SAMPLES_DIR=$ifs_samples
+ else
+- IFS_SAMPLES_DIR=${prefix}/ifs_samples
++ IFS_SAMPLES_DIR=${datadir}/$PACKAGE_NAME/ifs_samples
+ fi
+ AC_SUBST([IFS_SAMPLES_DIR])
+
@@ -262,8 +262,8 @@
AC_ARG_ENABLE([timer],
[AC_HELP_STRING([--enable-timer],
@@ -160,7 +169,16 @@ diff -Nur grib_api-1.9.9.orig/configure.ac grib_api-1.9.9/configure.ac
then
AC_DEFINE(OMP_PACKING,1,1->OpenMP packing 0->single thread packing)
else
-@@ -312,7 +312,7 @@
+@@ -291,8 +291,6 @@
+ if test $netcdf_dir != 'none'
+ then
+ with_netcdf=1
+- CFLAGS="$CFLAGS -I${netcdf_dir}/include"
+- LDFLAGS="$LDFLAGS -L${netcdf_dir}/lib"
+ AC_CHECK_LIB(netcdf,nc_open,netcdf_ok=1,netcdf_ok=0)
+ if test $netcdf_ok -eq 0
+ then
+@@ -312,7 +310,7 @@
AC_ARG_ENABLE([jpeg],
[AC_HELP_STRING([--disable-jpeg],
[disable jpeg 2000 for grib 2 decoding/encoding])],
@@ -169,16 +187,35 @@ diff -Nur grib_api-1.9.9.orig/configure.ac grib_api-1.9.9/configure.ac
AC_ARG_WITH([jasper],
[AC_HELP_STRING([--with-jasper=JASPER],
-@@ -342,7 +342,7 @@
- LDFLAGS="$LDFLAGS -L${openjpeg_dir}/lib"
- fi
-
+@@ -322,12 +320,6 @@
+ JASPER_DIR=$jasper_dir
+ AC_SUBST(JASPER_DIR)
+
+-if test $jasper_dir != 'system'
+-then
+- CFLAGS="$CFLAGS -I${jasper_dir}/include"
+- LDFLAGS="$LDFLAGS -L${jasper_dir}/lib"
+-fi
+-
+ AC_ARG_WITH([openjpeg],
+ [AC_HELP_STRING([--with-openjpeg=OPENJPEG],
+ [use specified openjpeg installation directory])],
+@@ -336,13 +328,7 @@
+ OPENJPEG_DIR=$openjpeg_dir
+ AC_SUBST(OPENJPEG_DIR)
+
+-if test $openjpeg_dir != 'system'
+-then
+- CFLAGS="$CFLAGS -I${openjpeg_dir}/include"
+- LDFLAGS="$LDFLAGS -L${openjpeg_dir}/lib"
+-fi
+-
-if test $without_jpeg -ne 1
+if test x"$with_jpeg" = x"yes"
then
AC_DEFINE(HAVE_JPEG,1,JPEG enabled)
AC_CHECK_LIB(jasper,jas_stream_memopen,jasper_ok=1,jasper_ok=0)
-@@ -429,9 +429,9 @@
+@@ -429,9 +415,9 @@
AC_ARG_ENABLE([install-system-perl],
[AC_HELP_STRING([--enable-install-system-perl],
[perl modules will install in the standard perl installation ])],
@@ -190,7 +227,7 @@ diff -Nur grib_api-1.9.9.orig/configure.ac grib_api-1.9.9/configure.ac
then
PERL_INSTALL_OPTIONS=""
fi
-@@ -461,7 +461,7 @@
+@@ -461,7 +447,7 @@
builddir=`pwd`
dnl Options to pass when configuring Perl grib_api
@@ -200,8 +237,8 @@ diff -Nur grib_api-1.9.9.orig/configure.ac grib_api-1.9.9/configure.ac
AC_ARG_WITH([perl-options],
[AC_HELP_STRING([--with-perl-options=[OPTIONS]], [options to pass on command-line when
diff -Nur grib_api-1.9.9.orig/definitions/installDefinitions.sh grib_api-1.9.9/definitions/installDefinitions.sh
---- grib_api-1.9.9.orig/definitions/installDefinitions.sh 2010-05-10 16:25:15.000000000 +0100
-+++ grib_api-1.9.9/definitions/installDefinitions.sh 2011-03-08 17:20:10.000000000 +0000
+--- grib_api-1.9.9.orig/definitions/installDefinitions.sh 2012-02-27 17:41:54.000000000 +0000
++++ grib_api-1.9.9/definitions/installDefinitions.sh 2012-02-27 17:42:14.000000000 +0000
@@ -44,7 +44,7 @@
echo checking definition files compatibility...
for file in `find . -name '*.def' -print`
@@ -212,8 +249,8 @@ diff -Nur grib_api-1.9.9.orig/definitions/installDefinitions.sh grib_api-1.9.9/d
if [ $? != 0 ]
then
diff -Nur grib_api-1.9.9.orig/examples/C/Makefile.am grib_api-1.9.9/examples/C/Makefile.am
---- grib_api-1.9.9.orig/examples/C/Makefile.am 2010-09-15 16:12:55.000000000 +0100
-+++ grib_api-1.9.9/examples/C/Makefile.am 2011-03-08 17:20:10.000000000 +0000
+--- grib_api-1.9.9.orig/examples/C/Makefile.am 2012-02-27 17:41:54.000000000 +0000
++++ grib_api-1.9.9/examples/C/Makefile.am 2012-02-27 17:42:14.000000000 +0000
@@ -30,7 +30,7 @@
INCLUDES = -I$(top_builddir)/src
@@ -224,8 +261,8 @@ diff -Nur grib_api-1.9.9.orig/examples/C/Makefile.am grib_api-1.9.9/examples/C/M
EXTRA_DIST =$(TESTS) include.sh
diff -Nur grib_api-1.9.9.orig/examples/F90/Makefile.am grib_api-1.9.9/examples/F90/Makefile.am
---- grib_api-1.9.9.orig/examples/F90/Makefile.am 2010-04-01 10:21:30.000000000 +0100
-+++ grib_api-1.9.9/examples/F90/Makefile.am 2011-03-08 17:20:10.000000000 +0000
+--- grib_api-1.9.9.orig/examples/F90/Makefile.am 2012-02-27 17:41:54.000000000 +0000
++++ grib_api-1.9.9/examples/F90/Makefile.am 2012-02-27 17:42:14.000000000 +0000
@@ -37,7 +37,7 @@
AM_FCFLAGS = $(F90_MODULE_FLAG)$(top_builddir)/fortran
@@ -236,8 +273,8 @@ diff -Nur grib_api-1.9.9.orig/examples/F90/Makefile.am grib_api-1.9.9/examples/F
EXTRA_DIST =$(TESTS) include.sh
diff -Nur grib_api-1.9.9.orig/examples/python/include.sh grib_api-1.9.9/examples/python/include.sh
---- grib_api-1.9.9.orig/examples/python/include.sh 2011-02-17 11:24:13.000000000 +0000
-+++ grib_api-1.9.9/examples/python/include.sh 2011-03-08 17:20:10.000000000 +0000
+--- grib_api-1.9.9.orig/examples/python/include.sh 2012-02-27 17:41:54.000000000 +0000
++++ grib_api-1.9.9/examples/python/include.sh 2012-02-27 17:42:14.000000000 +0000
@@ -14,6 +14,8 @@
PYTHONPATH=$cpath/python:$PYTHONPATH
@@ -248,8 +285,8 @@ diff -Nur grib_api-1.9.9.orig/examples/python/include.sh grib_api-1.9.9/examples
set -u
diff -Nur grib_api-1.9.9.orig/examples/python/Makefile.am grib_api-1.9.9/examples/python/Makefile.am
---- grib_api-1.9.9.orig/examples/python/Makefile.am 2011-02-17 11:24:13.000000000 +0000
-+++ grib_api-1.9.9/examples/python/Makefile.am 2011-03-08 17:20:10.000000000 +0000
+--- grib_api-1.9.9.orig/examples/python/Makefile.am 2012-02-27 17:41:54.000000000 +0000
++++ grib_api-1.9.9/examples/python/Makefile.am 2012-02-27 17:42:14.000000000 +0000
@@ -10,7 +10,7 @@
iterator_SOURCES = iterator.c
count_messages_SOURCES = count_messages.c
@@ -260,8 +297,8 @@ diff -Nur grib_api-1.9.9.orig/examples/python/Makefile.am grib_api-1.9.9/example
EXTRA_DIST = $(TESTS) include.sh clone.py count_messages.py get.py index.py iterator.py keys_iterator.py multi_write.py nearest.py print_data.py samples.py set.py set_missing.py binary_message.py set_pv.py
diff -Nur grib_api-1.9.9.orig/fortran/Makefile.am grib_api-1.9.9/fortran/Makefile.am
---- grib_api-1.9.9.orig/fortran/Makefile.am 2009-11-24 11:51:52.000000000 +0000
-+++ grib_api-1.9.9/fortran/Makefile.am 2011-03-08 17:20:10.000000000 +0000
+--- grib_api-1.9.9.orig/fortran/Makefile.am 2012-02-27 17:41:54.000000000 +0000
++++ grib_api-1.9.9/fortran/Makefile.am 2012-02-27 17:42:14.000000000 +0000
@@ -2,14 +2,14 @@
AM_CFLAGS = @WARN_PEDANTIC@
@@ -292,8 +329,8 @@ diff -Nur grib_api-1.9.9.orig/fortran/Makefile.am grib_api-1.9.9/fortran/Makefil
#noinst_HEADERS =
diff -Nur grib_api-1.9.9.orig/perl/GRIB-API/Makefile.PL.in grib_api-1.9.9/perl/GRIB-API/Makefile.PL.in
---- grib_api-1.9.9.orig/perl/GRIB-API/Makefile.PL.in 2009-11-24 11:51:53.000000000 +0000
-+++ grib_api-1.9.9/perl/GRIB-API/Makefile.PL.in 2011-03-08 17:20:10.000000000 +0000
+--- grib_api-1.9.9.orig/perl/GRIB-API/Makefile.PL.in 2012-02-27 17:41:54.000000000 +0000
++++ grib_api-1.9.9/perl/GRIB-API/Makefile.PL.in 2012-02-27 17:42:14.000000000 +0000
@@ -19,5 +19,5 @@
INC => '-I@GRIB_API_INC@', # e.g., '-I. -I/usr/include/other'
# Un-comment this if you add C files to link with later:
@@ -302,8 +339,8 @@ diff -Nur grib_api-1.9.9.orig/perl/GRIB-API/Makefile.PL.in grib_api-1.9.9/perl/G
+ depend => { "API.o" => "../../src/libgrib_api.la" }
);
diff -Nur grib_api-1.9.9.orig/perl/Makefile.am grib_api-1.9.9/perl/Makefile.am
---- grib_api-1.9.9.orig/perl/Makefile.am 2010-03-19 11:25:53.000000000 +0000
-+++ grib_api-1.9.9/perl/Makefile.am 2011-03-08 17:20:10.000000000 +0000
+--- grib_api-1.9.9.orig/perl/Makefile.am 2012-02-27 17:41:54.000000000 +0000
++++ grib_api-1.9.9/perl/Makefile.am 2012-02-27 17:42:14.000000000 +0000
@@ -16,10 +16,10 @@
$(PERLMAKEFILE): $(PERLMAKEMAKER)
cd $(API_DIR) && @PERL@ Makefile.PL @PERL_INSTALL_OPTIONS@ @PERL_MAKE_OPTIONS@ @PERL_LD_OPTIONS@
@@ -317,9 +354,21 @@ diff -Nur grib_api-1.9.9.orig/perl/Makefile.am grib_api-1.9.9/perl/Makefile.am
cd $(top_builddir)/src && $(MAKE)
install-exec-perl: $(PERLMAKEFILE)
+diff -Nur grib_api-1.9.9.orig/python/Makefile.am grib_api-1.9.9/python/Makefile.am
+--- grib_api-1.9.9.orig/python/Makefile.am 2012-02-27 17:41:54.000000000 +0000
++++ grib_api-1.9.9/python/Makefile.am 2012-02-27 17:56:09.000000000 +0000
+@@ -23,7 +23,7 @@
+ swig_wrap_numpy.py
+
+ # What I want installed
+-pdir = $(libdir)/python$(PYTHON_VERSION)/site-packages/grib_api
++pdir = $(libdir)/python$(PYTHON_VERSION)/site-packages
+ p_DATA = \
+ _gribapi_swig.so \
+ gribapi.py \
diff -Nur grib_api-1.9.9.orig/python/setup.py.in grib_api-1.9.9/python/setup.py.in
---- grib_api-1.9.9.orig/python/setup.py.in 2010-10-08 16:00:49.000000000 +0100
-+++ grib_api-1.9.9/python/setup.py.in 2011-03-08 17:20:10.000000000 +0000
+--- grib_api-1.9.9.orig/python/setup.py.in 2012-02-27 17:41:54.000000000 +0000
++++ grib_api-1.9.9/python/setup.py.in 2012-02-27 17:42:14.000000000 +0000
@@ -17,7 +17,8 @@
build_dir = '@BUILD_DIR@'
add_attribute(
@@ -331,8 +380,8 @@ diff -Nur grib_api-1.9.9.orig/python/setup.py.in grib_api-1.9.9/python/setup.py.
with_jasper = '@LIB_JASPER@'
diff -Nur grib_api-1.9.9.orig/src/extrules.am grib_api-1.9.9/src/extrules.am
---- grib_api-1.9.9.orig/src/extrules.am 2010-10-05 11:21:12.000000000 +0100
-+++ grib_api-1.9.9/src/extrules.am 2011-03-08 17:20:10.000000000 +0000
+--- grib_api-1.9.9.orig/src/extrules.am 2012-02-27 17:41:54.000000000 +0000
++++ grib_api-1.9.9/src/extrules.am 2012-02-27 17:42:14.000000000 +0000
@@ -9,7 +9,7 @@
cmp ../python/grib_errors.h grib_errors.h.new || (p4 edit ../python/grib_errors.h ; cp grib_errors.h.new ../python/grib_errors.h)
@@ -343,8 +392,8 @@ diff -Nur grib_api-1.9.9.orig/src/extrules.am grib_api-1.9.9/src/extrules.am
templates:
diff -Nur grib_api-1.9.9.orig/src/Makefile.am grib_api-1.9.9/src/Makefile.am
---- grib_api-1.9.9.orig/src/Makefile.am 2011-02-04 14:38:58.000000000 +0000
-+++ grib_api-1.9.9/src/Makefile.am 2011-03-08 17:20:10.000000000 +0000
+--- grib_api-1.9.9.orig/src/Makefile.am 2012-02-27 17:41:54.000000000 +0000
++++ grib_api-1.9.9/src/Makefile.am 2012-02-27 17:42:14.000000000 +0000
@@ -7,10 +7,10 @@
# -DYYDEBUG
@@ -358,7 +407,7 @@ diff -Nur grib_api-1.9.9.orig/src/Makefile.am grib_api-1.9.9/src/Makefile.am
action.c \
action_class_alias.c \
action_class_gen.c \
-@@ -142,7 +142,6 @@
+@@ -143,7 +143,6 @@
grib_accessor_class_spectral_truncation.c \
grib_accessor_class_time.c \
grib_accessor_class_transient.c \
@@ -366,7 +415,7 @@ diff -Nur grib_api-1.9.9.orig/src/Makefile.am grib_api-1.9.9/src/Makefile.am
grib_accessor_class_values.c \
grib_accessor_class_simple_packing_error.c \
grib_accessor_class_data_simple_packing.c \
-@@ -285,10 +284,10 @@
+@@ -286,10 +285,10 @@
libgrib_api_extra_prototypes = grib_bits_any_endian.c grib_bits_any_endian_simple.c
@@ -380,7 +429,7 @@ diff -Nur grib_api-1.9.9.orig/src/Makefile.am grib_api-1.9.9/src/Makefile.am
# set the include path
-@@ -296,7 +295,7 @@
+@@ -297,7 +296,7 @@
## Make sure these will be cleaned even when they're not built by
## default.
@@ -390,8 +439,8 @@ diff -Nur grib_api-1.9.9.orig/src/Makefile.am grib_api-1.9.9/src/Makefile.am
noinst_HEADERS = grib_api_internal.h \
diff -Nur grib_api-1.9.9.orig/tests/definitions.sh grib_api-1.9.9/tests/definitions.sh
---- grib_api-1.9.9.orig/tests/definitions.sh 2010-06-17 15:00:13.000000000 +0100
-+++ grib_api-1.9.9/tests/definitions.sh 2011-03-08 17:20:10.000000000 +0000
+--- grib_api-1.9.9.orig/tests/definitions.sh 2012-02-27 17:41:54.000000000 +0000
++++ grib_api-1.9.9/tests/definitions.sh 2012-02-27 17:42:14.000000000 +0000
@@ -15,6 +15,6 @@
for file in `find $GRIB_DEFINITION_PATH -name '*.def' -print`
@@ -401,8 +450,8 @@ diff -Nur grib_api-1.9.9.orig/tests/definitions.sh grib_api-1.9.9/tests/definiti
done
diff -Nur grib_api-1.9.9.orig/tests/Makefile.am grib_api-1.9.9/tests/Makefile.am
---- grib_api-1.9.9.orig/tests/Makefile.am 2010-12-02 14:54:51.000000000 +0000
-+++ grib_api-1.9.9/tests/Makefile.am 2011-03-08 17:20:10.000000000 +0000
+--- grib_api-1.9.9.orig/tests/Makefile.am 2012-02-27 17:41:54.000000000 +0000
++++ grib_api-1.9.9/tests/Makefile.am 2012-02-27 17:42:14.000000000 +0000
@@ -31,7 +31,7 @@
gribex_perf_SOURCES = gribex_perf.c
gribex_perf_SOURCES = gauss_sub.c
@@ -413,8 +462,8 @@ diff -Nur grib_api-1.9.9.orig/tests/Makefile.am grib_api-1.9.9/tests/Makefile.am
INCLUDES = -I$(top_builddir)/src
diff -Nur grib_api-1.9.9.orig/tigge/Makefile.am grib_api-1.9.9/tigge/Makefile.am
---- grib_api-1.9.9.orig/tigge/Makefile.am 2010-02-17 16:53:55.000000000 +0000
-+++ grib_api-1.9.9/tigge/Makefile.am 2011-03-08 17:20:10.000000000 +0000
+--- grib_api-1.9.9.orig/tigge/Makefile.am 2012-02-27 17:41:54.000000000 +0000
++++ grib_api-1.9.9/tigge/Makefile.am 2012-02-27 17:42:14.000000000 +0000
@@ -12,5 +12,5 @@
INCLUDES = -I$(top_builddir)/src
@@ -423,8 +472,8 @@ diff -Nur grib_api-1.9.9.orig/tigge/Makefile.am grib_api-1.9.9/tigge/Makefile.am
+LDADD = $(top_builddir)/src/libgrib_api.la
DEPENDENCIES = $(LDADD)
diff -Nur grib_api-1.9.9.orig/tools/Makefile.am grib_api-1.9.9/tools/Makefile.am
---- grib_api-1.9.9.orig/tools/Makefile.am 2011-01-31 16:33:49.000000000 +0000
-+++ grib_api-1.9.9/tools/Makefile.am 2011-03-08 17:22:25.000000000 +0000
+--- grib_api-1.9.9.orig/tools/Makefile.am 2012-02-27 17:41:54.000000000 +0000
++++ grib_api-1.9.9/tools/Makefile.am 2012-02-27 17:42:14.000000000 +0000
@@ -3,9 +3,9 @@
AM_YFLAGS = -d
diff --git a/sci-libs/grib_api/grib_api-1.9.9.ebuild b/sci-libs/grib_api/grib_api-1.9.9-r1.ebuild
index fe5c89f6dc52..c821d963d15d 100644
--- a/sci-libs/grib_api/grib_api-1.9.9.ebuild
+++ b/sci-libs/grib_api/grib_api-1.9.9-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/grib_api/grib_api-1.9.9.ebuild,v 1.3 2011/12/21 07:55:03 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/grib_api/grib_api-1.9.9-r1.ebuild,v 1.1 2012/02/27 18:18:19 bicatali Exp $
-EAPI=3
+EAPI=4
inherit eutils autotools
#MYP=${P}_libtool
@@ -29,9 +29,6 @@ src_prepare() {
epatch \
"${FILESDIR}"/${P}-ieeefloat.patch \
"${FILESDIR}"/${P}-autotools.patch
- sed \
- -e '/LDFLAGS=/d' \
- -i configure.ac || die
eautoreconf
}
@@ -62,14 +59,11 @@ src_configure() {
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc AUTHORS ChangeLog README
- if use doc; then
- dohtml html/* || die
- fi
+ default
+ use doc && dohtml html/*
if use examples; then
insinto /usr/share/doc/${PF}/examples
emake clean
- doins -r * || die
+ doins -r *
fi
}