From 2b4866d02cdb9b62599f81b6de8ebb5bb62379dd Mon Sep 17 00:00:00 2001 From: Donny Davies Date: Fri, 25 Oct 2002 05:17:25 +0000 Subject: yay fix 9188, no X needed --- net-print/cups/ChangeLog | 4 +++- net-print/cups/cups-1.1.16.ebuild | 20 ++++++++++---------- 2 files changed, 13 insertions(+), 11 deletions(-) (limited to 'net-print/cups') diff --git a/net-print/cups/ChangeLog b/net-print/cups/ChangeLog index 9b5168931bb0..be433abfbc59 100644 --- a/net-print/cups/ChangeLog +++ b/net-print/cups/ChangeLog @@ -1,6 +1,8 @@ # ChangeLog for net-print/cups # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/net-print/cups/ChangeLog,v 1.21 2002/10/19 05:20:28 woodchip Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/cups/ChangeLog,v 1.22 2002/10/25 05:17:25 woodchip Exp $ + + 25 Oct 2002; Donny Davies cups-1.1.16.ebuild : fix #9188. *cups-1.1.16 (10 Oct 2002) diff --git a/net-print/cups/cups-1.1.16.ebuild b/net-print/cups/cups-1.1.16.ebuild index 2eb577a2f5a6..1d004c404235 100644 --- a/net-print/cups/cups-1.1.16.ebuild +++ b/net-print/cups/cups-1.1.16.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-print/cups/cups-1.1.16.ebuild,v 1.1 2002/10/10 17:44:06 g2boojum Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/cups/cups-1.1.16.ebuild,v 1.2 2002/10/25 05:17:25 woodchip Exp $ IUSE="ssl slp pam" @@ -24,16 +24,20 @@ SLOT="0" KEYWORDS="x86 ppc sparc sparc64" src_unpack() { - - unpack ${A} ; cd ${S} - # make sure libcupsimage gets linked with libjpeg + unpack ${A} || die + cd ${S} || die + #make sure libcupsimage gets linked with libjpeg patch -p0 < ${FILESDIR}/configure-jpeg-buildfix-1.1.15.diff || die patch -p1 < ${FILESDIR}/disable-strip.patch || die - + #known problem, probably will be fixed next release //woodchip; #9188 + cd pdftops && cp Makefile Makefile.orig + sed -e 's|FTFont.o||' \ + -e 's|SFont.o||' \ + -e 's|T1Font.o||' \ + -e 's|TTFont.o||' Makefile.orig > Makefile } src_compile() { - local myconf use pam || myconf="${myconf} --disable-pam" use ssl || myconf="${myconf} --disable-ssl" @@ -49,7 +53,6 @@ src_compile() { } src_install() { - dodir /var/spool /var/log/cups /etc/cups make \ @@ -104,11 +107,9 @@ src_install() { insinto /etc/pam.d ; newins ${FILESDIR}/cups.pam cups exeinto /etc/init.d ; newexe ${FILESDIR}/cupsd.rc6 cupsd insinto /etc/xinetd.d ; newins ${FILESDIR}/cups.xinetd cups-lpd - } pkg_postinst() { - install -d -m0755 ${ROOT}/var/log/cups install -d -m0755 ${ROOT}/var/spool install -m0700 -o lp -d ${ROOT}/var/spool/cups @@ -120,5 +121,4 @@ pkg_postinst() { einfo "emerge >=app-text/ghostscript-7.05-r1 if you need to print" einfo "to a non-postscript printer" einfo - } -- cgit v1.2.3-65-gdbad