yay fix 9188, no X needed
authorDonny Davies <woodchip@gentoo.org>
Fri, 25 Oct 2002 05:17:25 +0000 (05:17 +0000)
committerDonny Davies <woodchip@gentoo.org>
Fri, 25 Oct 2002 05:17:25 +0000 (05:17 +0000)
net-print/cups/ChangeLog
net-print/cups/cups-1.1.16.ebuild

index 9b5168931bb090f2038bbcd68a0ac3ff695e7300..be433abfbc59c0994a56c73910c8bcf8f5cfba9d 100644 (file)
@@ -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 <woodchip@gentoo.org> cups-1.1.16.ebuild : fix #9188.
 
 *cups-1.1.16 (10 Oct 2002)
 
index 2eb577a2f5a6364d985966e9fe3a464ca3284a0f..1d004c404235e6e4e92e5bade45c8a0d3e1504d5 100644 (file)
@@ -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
-
 }