summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2003-12-12 09:30:17 +0000
committerHeinrich Wendel <lanius@gentoo.org>2003-12-12 09:30:17 +0000
commit1f34856d1cf181e973de2adf04f851325bf723cd (patch)
treee2b6c7d1e49cb1ef8f6a4c85af6a4ffe22ca1e29 /app-text/ghostscript-afpl
parentremove stale ebuilds, add metadata (diff)
downloadgentoo-2-1f34856d1cf181e973de2adf04f851325bf723cd.tar.gz
gentoo-2-1f34856d1cf181e973de2adf04f851325bf723cd.tar.bz2
gentoo-2-1f34856d1cf181e973de2adf04f851325bf723cd.zip
fix to compile without cups
Diffstat (limited to 'app-text/ghostscript-afpl')
-rw-r--r--app-text/ghostscript-afpl/ChangeLog6
-rw-r--r--app-text/ghostscript-afpl/Manifest4
-rw-r--r--app-text/ghostscript-afpl/ghostscript-afpl-8.12.ebuild15
3 files changed, 16 insertions, 9 deletions
diff --git a/app-text/ghostscript-afpl/ChangeLog b/app-text/ghostscript-afpl/ChangeLog
index c787b995ceab..b9bb1e990931 100644
--- a/app-text/ghostscript-afpl/ChangeLog
+++ b/app-text/ghostscript-afpl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/ghostscript-afpl
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-afpl/ChangeLog,v 1.3 2003/12/11 13:51:45 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-afpl/ChangeLog,v 1.4 2003/12/12 09:30:12 lanius Exp $
+
+ 12 Dec 2003; Heinrich Wendel <lanius@gentoo.org>
+ ghostscript-afpl-8.12.ebuild:
+ fix to compile without cups
11 Dec 2003; Heinrich Wendel <lanius@gentoo.org>
ghostscript-afpl-8.12.ebuild:
diff --git a/app-text/ghostscript-afpl/Manifest b/app-text/ghostscript-afpl/Manifest
index 12d135fe5f0f..572eede73b60 100644
--- a/app-text/ghostscript-afpl/Manifest
+++ b/app-text/ghostscript-afpl/Manifest
@@ -1,6 +1,6 @@
MD5 0a7e0938ede77432d28dee84c77e73ce ghostscript-afpl-8.11.ebuild 3273
-MD5 9fc751708fdec013c6f4650eefe31795 ghostscript-afpl-8.12.ebuild 3427
-MD5 f1a73669e298d4f9827a51e5a21919bf ChangeLog 666
+MD5 15bd7391823a1e2b7403f33deccea502 ghostscript-afpl-8.12.ebuild 3421
+MD5 21fce78373882a84b8f4633433855211 ChangeLog 780
MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
MD5 c2ae99630b9c6264495d16e128e82fd8 files/digest-ghostscript-afpl-8.11 359
MD5 ef5e54302a5fecbf8f98a390add46ef7 files/digest-ghostscript-afpl-8.12 359
diff --git a/app-text/ghostscript-afpl/ghostscript-afpl-8.12.ebuild b/app-text/ghostscript-afpl/ghostscript-afpl-8.12.ebuild
index 6b8bda0088cb..f26c2bb3eee2 100644
--- a/app-text/ghostscript-afpl/ghostscript-afpl-8.12.ebuild
+++ b/app-text/ghostscript-afpl/ghostscript-afpl-8.12.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-afpl/ghostscript-afpl-8.12.ebuild,v 1.1 2003/12/11 13:51:45 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-afpl/ghostscript-afpl-8.12.ebuild,v 1.2 2003/12/12 09:30:12 lanius Exp $
inherit eutils
@@ -45,19 +45,19 @@ src_unpack() {
# cups support
if [ `use cups` ]; then
+ einfo "hallo"
unpack cups-${CUPS_PV}-source.tar.bz2
cp -r cups-${CUPS_PV}/pstoraster ${S}
cd ${S}/pstoraster
sed -e 's:@prefix@:/usr:' -e 's:@exec_prefix@:${prefix}:' -e 's:@bindir@:${exec_prefix}/bin:' -e 's:@GS@:gs:' pstopxl.in > pstopxl
sed -i -e 's:/usr/local:/usr:' pstoraster
sed -i -e "s:pstopcl6:pstopxl:" cups.mak
+ cd ..
+ epatch pstoraster/gs811-lib.patch
fi
cd ${S}
- # patch for cups support
- use cups && epatch pstoraster/gs811-lib.patch
-
# ijs .so patch
epatch ${FILESDIR}/gs-8.11-ijs.patch
}
@@ -75,8 +75,11 @@ src_compile() {
econf ${myconf}
# build cups driver with cups
- use cups && echo 'include pstoraster/cups.mak' >> Makefile; sed -i -e 's:DEVICE_DEVS17=:DEVICE_DEVS17=$(DD)cups.dev:' Makefile
- use cups && sed -i -e 's:LDFLAGS= $(XLDFLAGS):LDFLAGS=-L/usr/include -lcups -lcupsimage $(XLDFLAGS):' Makefile
+ if [ `use cups` ]; then
+ echo 'include pstoraster/cups.mak' >> Makefile
+ sed -i -e 's:DEVICE_DEVS17=:DEVICE_DEVS17=$(DD)cups.dev:' Makefile
+ sed -i -e 's:LDFLAGS= $(XLDFLAGS):LDFLAGS=-L/usr/include -lcups -lcupsimage $(XLDFLAGS):' Makefile
+ fi
# search path fix
sed -i -e 's:$(gsdatadir)/lib:/usr/share/ghostscript/8.12/lib:' Makefile