summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Raschbacher <lordvan@gentoo.org>2003-04-03 18:17:41 +0000
committerThomas Raschbacher <lordvan@gentoo.org>2003-04-03 18:17:41 +0000
commit2bc39f9001ea1e7efd315bf9529f8cb638e433aa (patch)
tree8c254c5cadd3672cf53f5145a23ce22aa2992ace /app-text/ghostscript/ghostscript-7.05.6.ebuild
parent- Initial ebuild (diff)
downloadgentoo-2-2bc39f9001ea1e7efd315bf9529f8cb638e433aa.tar.gz
gentoo-2-2bc39f9001ea1e7efd315bf9529f8cb638e433aa.tar.bz2
gentoo-2-2bc39f9001ea1e7efd315bf9529f8cb638e433aa.zip
fixed use-flag stuff(see ChangeLog)
Diffstat (limited to 'app-text/ghostscript/ghostscript-7.05.6.ebuild')
-rw-r--r--app-text/ghostscript/ghostscript-7.05.6.ebuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/app-text/ghostscript/ghostscript-7.05.6.ebuild b/app-text/ghostscript/ghostscript-7.05.6.ebuild
index 998624206717..9975d81d602b 100644
--- a/app-text/ghostscript/ghostscript-7.05.6.ebuild
+++ b/app-text/ghostscript/ghostscript-7.05.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ghostscript-7.05.6.ebuild,v 1.3 2003/04/03 12:08:46 nakano Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ghostscript-7.05.6.ebuild,v 1.4 2003/04/03 18:17:41 lordvan Exp $
DESCRIPTION="ESP Ghostscript -- an enhanced version of GNU Ghostscript with better printer support"
SRC_URI="ftp://ftp.easysw.com/pub/ghostscript/espgs-${PV}-source.tar.bz2
@@ -22,7 +22,8 @@ DEPEND="virtual/glibc
X? ( virtual/x11 )
cjk? ( x11-misc/arphicfonts
x11-misc/kochi-fonts
- x11-misc/baekmuk-fonts )"
+ x11-misc/baekmuk-fonts )
+ cups? gimp-print : gimp-print-cups"
S=${WORKDIR}/espgs-${PV}
@@ -49,11 +50,11 @@ src_compile() {
local myconf
myconf="--with-ijs --with-omni"
- use X && myconf="${myconf} --with-x --with-gimp-print" \
- || myconf="${myconf} --without-x --without-gimp-print"
+ use X && myconf="${myconf} --with-x" \
+ || myconf="${myconf} --without-x"
- use cups && myconf="${myconf} --enable-cups" \
- || myconf="${myconf} --disable-cups"
+ use cups && myconf="${myconf} --enable-cups --with-gimp-print" \
+ || myconf="${myconf} --disable-cups --without-gimp-print"
econf ${myconf}
make || die "make failed"