diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-04-25 16:47:26 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-04-25 16:47:26 +0000 |
commit | f614c52a193fb95e04e1a2c28f4a8412a98dc77a (patch) | |
tree | c002ced04ba44a737b599b4eaa28ebdb00e18376 /sci-libs | |
parent | Don't runtime libtoolize two times (diff) | |
download | gentoo-2-f614c52a193fb95e04e1a2c28f4a8412a98dc77a.tar.gz gentoo-2-f614c52a193fb95e04e1a2c28f4a8412a98dc77a.tar.bz2 gentoo-2-f614c52a193fb95e04e1a2c28f4a8412a98dc77a.zip |
Fixed java automagic dependency
(Portage version: 2.1.10.56/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/proj/ChangeLog | 5 | ||||
-rw-r--r-- | sci-libs/proj/proj-4.8.0.ebuild | 17 |
2 files changed, 16 insertions, 6 deletions
diff --git a/sci-libs/proj/ChangeLog b/sci-libs/proj/ChangeLog index 66a26abd1a83..fabb401fdbf3 100644 --- a/sci-libs/proj/ChangeLog +++ b/sci-libs/proj/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-libs/proj # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/proj/ChangeLog,v 1.34 2012/04/25 04:41:11 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/proj/ChangeLog,v 1.35 2012/04/25 16:47:26 bicatali Exp $ + + 25 Apr 2012; Sébastien Fabbro <bicatali@gentoo.org> proj-4.8.0.ebuild: + Fixed java automagic dependency *proj-4.8.0 (25 Apr 2012) diff --git a/sci-libs/proj/proj-4.8.0.ebuild b/sci-libs/proj/proj-4.8.0.ebuild index 3d810cda0c23..72d0f34936fb 100644 --- a/sci-libs/proj/proj-4.8.0.ebuild +++ b/sci-libs/proj/proj-4.8.0.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/proj/proj-4.8.0.ebuild,v 1.1 2012/04/25 04:41:11 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/proj/proj-4.8.0.ebuild,v 1.2 2012/04/25 16:47:26 bicatali Exp $ EAPI=4 -inherit eutils +inherit eutils java-pkg-opt-2 flag-o-matic DESCRIPTION="Proj.4 cartographic projection software with updated NAD27 grids" HOMEPAGE="http://trac.osgeo.org/proj/" @@ -14,10 +14,11 @@ SRC_URI="ftp://ftp.remotesensing.org/pub/proj/${P}.tar.gz LICENSE="MIT" SLOT="0" KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" -IUSE="static-libs" +IUSE="java static-libs" RDEPEND="" -DEPEND="app-arch/unzip" +DEPEND="app-arch/unzip + java? ( >=virtual/jdk-1.5 )" src_unpack() { unpack ${P}.tar.gz @@ -27,7 +28,13 @@ src_unpack() { } src_configure() { - econf $(use_enable static-libs static) + if use java; then + export JAVACFLAGS="$(java-pkg_javac-args)" + append-cflags "$(java-pkg_get-jni-cflags)" + fi + econf \ + $(use_enable static-libs static) \ + $(use_with java jni) } src_install() { |