diff options
author | Anant Narayanan <anant@gentoo.org> | 2007-07-19 19:08:06 +0000 |
---|---|---|
committer | Anant Narayanan <anant@gentoo.org> | 2007-07-19 19:08:06 +0000 |
commit | da0c3e3254f4cd86aef503522cdc975a40bad433 (patch) | |
tree | 9907d4165e4f3f41e7e471df2c4d803dd51fd553 /media-libs/pdflib | |
parent | alpha/ia64/x86 stable wrt #185733 (diff) | |
download | historical-da0c3e3254f4cd86aef503522cdc975a40bad433.tar.gz historical-da0c3e3254f4cd86aef503522cdc975a40bad433.tar.bz2 historical-da0c3e3254f4cd86aef503522cdc975a40bad433.zip |
Set env variable only when neccessary, solving part of bug #185227
Package-Manager: portage-2.1.3_rc6
Diffstat (limited to 'media-libs/pdflib')
-rw-r--r-- | media-libs/pdflib/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/pdflib/pdflib-7.0.1.ebuild | 14 |
2 files changed, 16 insertions, 6 deletions
diff --git a/media-libs/pdflib/ChangeLog b/media-libs/pdflib/ChangeLog index 31b9577ef15f..fd8183bea386 100644 --- a/media-libs/pdflib/ChangeLog +++ b/media-libs/pdflib/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-libs/pdflib # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/ChangeLog,v 1.77 2007/07/10 17:33:48 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/ChangeLog,v 1.78 2007/07/19 19:08:06 anant Exp $ + + 20 Jul 2007; Anant Narayanan <anant@gentoo.org> pdflib-7.0.1.ebuild: + Set env variable only when neccessary, solving part of bug #185227 10 Jul 2007; Christoph Mende <angelos@gentoo.org> pdflib-7.0.1.ebuild: Added ~amd64 wrt bug #184343 @@ -11,6 +14,9 @@ 06 Jul 2007; Markus Rothe <corsair@gentoo.org> pdflib-7.0.1.ebuild: Added ~ppc64; bug #184343 + 14 Jul 2007; Anant Narayanan <anant@gentoo.org> ChangeLog: + Set env variable only when neccessary, solving part of bug #185227 + 06 Jul 2007; Anant Narayanan <anant@gentoo.org> pdflib-7.0.1.ebuild: Add revdep-rebuild instructions to pkg_postinst() diff --git a/media-libs/pdflib/pdflib-7.0.1.ebuild b/media-libs/pdflib/pdflib-7.0.1.ebuild index 16781d614b2e..4d4c63ac12ca 100644 --- a/media-libs/pdflib/pdflib-7.0.1.ebuild +++ b/media-libs/pdflib/pdflib-7.0.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/pdflib-7.0.1.ebuild,v 1.8 2007/07/10 17:33:48 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/pdflib-7.0.1.ebuild,v 1.9 2007/07/19 19:08:06 anant Exp $ # eutils must be inherited since get_libdir() is only # globally available on baselayout-1.11 (still on ~arch) @@ -59,10 +59,14 @@ src_compile() { --enable-cxx \ ${myconf} || die - JAVACFLAGS="$(java-pkg_javac-args)" emake || die "emake failed" - if use java && use doc; then - cd ./bind/pdflib/java || die - emake javadoc || die "Failed to generate javadoc" + if use java; then + JAVACFLAGS="$(java-pkg_javac-args)" emake || die "emake failed" + if use doc; then + cd ./bind/pdflib/java || die + emake javadoc || die "Failed to generate javadoc" + fi + else + emake || die "emake failed" fi } |