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 | 7ac9b87090cd0dea0d5a387b09dcb900f7281d7f (patch) | |
tree | 30d7e5333fa5358072e1daa4ed1a8dd55a317fc6 /media-libs/pdflib | |
parent | marking x86 stable (diff) | |
download | historical-7ac9b87090cd0dea0d5a387b09dcb900f7281d7f.tar.gz historical-7ac9b87090cd0dea0d5a387b09dcb900f7281d7f.tar.bz2 historical-7ac9b87090cd0dea0d5a387b09dcb900f7281d7f.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 |