diff options
author | Aron Griffis <agriffis@gentoo.org> | 2004-06-07 23:37:43 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2004-06-07 23:37:43 +0000 |
commit | 59986f6965ebc2ef9f0be41c11fbe91a048a6b33 (patch) | |
tree | 920cb2f3371fc2650f98057acc64cbd633398340 /media-libs/pdflib | |
parent | cleanup 3.3.1 (Manifest recommit) (diff) | |
download | gentoo-2-59986f6965ebc2ef9f0be41c11fbe91a048a6b33.tar.gz gentoo-2-59986f6965ebc2ef9f0be41c11fbe91a048a6b33.tar.bz2 gentoo-2-59986f6965ebc2ef9f0be41c11fbe91a048a6b33.zip |
Fix use invocation
Diffstat (limited to 'media-libs/pdflib')
-rw-r--r-- | media-libs/pdflib/ChangeLog | 5 | ||||
-rw-r--r-- | media-libs/pdflib/pdflib-5.0.2.ebuild | 8 |
2 files changed, 8 insertions, 5 deletions
diff --git a/media-libs/pdflib/ChangeLog b/media-libs/pdflib/ChangeLog index 59a4f96ab357..48e31d603b64 100644 --- a/media-libs/pdflib/ChangeLog +++ b/media-libs/pdflib/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-libs/pdflib # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/ChangeLog,v 1.36 2004/05/12 19:58:41 randy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/ChangeLog,v 1.37 2004/06/07 23:37:43 agriffis Exp $ + + 07 Jun 2004; Aron Griffis <agriffis@gentoo.org> pdflib-5.0.2.ebuild: + Fix use invocation 12 May 2004; Michael McCabe <randy@gentoo.org> pdflib-5.0.2.ebuild: Added s390 keywords diff --git a/media-libs/pdflib/pdflib-5.0.2.ebuild b/media-libs/pdflib/pdflib-5.0.2.ebuild index b1225e7b9abf..a30d716df4cd 100644 --- a/media-libs/pdflib/pdflib-5.0.2.ebuild +++ b/media-libs/pdflib/pdflib-5.0.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/pdflib-5.0.2.ebuild,v 1.17 2004/06/03 13:35:22 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/pdflib-5.0.2.ebuild,v 1.18 2004/06/07 23:37:43 agriffis Exp $ MY_PN="${PN/pdf/PDF}-Lite" MY_P="${MY_PN}-${PV}-Unix-src" @@ -58,7 +58,7 @@ src_install() { # ok, this should create the correct lib dirs for perl and python. # yes, i know it is messy, but as i see it, a ebuild should be generic # ... ie. you should be able to just use cp to update it - if [ ! -z "`use perl`" ] && [ -x /usr/bin/perl ] ; then + if use perl && [ -x /usr/bin/perl ] ; then local perlmajver="`/usr/bin/perl -v |grep 'This is perl' \ |cut -d ' ' -f 4 |cut -d '.' -f 1`" local perlver="`/usr/bin/perl -v |grep 'This is perl' \ @@ -67,7 +67,7 @@ src_install() { |cut -d ' ' -f 7`" dodir /usr/lib/perl${perlmajver/v/}/site_perl/${perlver/v/}/${perlarch} fi - if [ ! -z "`use python`" ] && [ -x /usr/bin/python ] ; then + if use python && [ -x /usr/bin/python ] ; then dodir /usr/lib/python${PYVER}/lib-dynload fi #next line required for proper install @@ -83,7 +83,7 @@ src_install() { # karltk: This is definitely NOT how it should be done! # we need this to create pdflib.jar (we will not have the source when # this is a binary package ...) -# if [ "`use java`" ] +# if use java # then # insinto /usr/share/pdflib # doins ${S}/bind/pdflib/java/pdflib.java |