diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-12-03 14:42:36 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-12-03 14:42:36 +0000 |
commit | 231982d3de3f28118672da0ad7aeea87180fa299 (patch) | |
tree | ec1d83e0cf2c66410f610cddab22543a18beefeb /net-print/foomatic-filters | |
parent | Stable on x86, security bug #156627. (diff) | |
download | gentoo-2-231982d3de3f28118672da0ad7aeea87180fa299.tar.gz gentoo-2-231982d3de3f28118672da0ad7aeea87180fa299.tar.bz2 gentoo-2-231982d3de3f28118672da0ad7aeea87180fa299.zip |
Fix build with USE=-cups thanks to spanky in bug 156966
(Portage version: 2.1.2_rc2-r4)
Diffstat (limited to 'net-print/foomatic-filters')
-rw-r--r-- | net-print/foomatic-filters/ChangeLog | 6 | ||||
-rw-r--r-- | net-print/foomatic-filters/foomatic-filters-3.0.20060720.ebuild | 9 |
2 files changed, 10 insertions, 5 deletions
diff --git a/net-print/foomatic-filters/ChangeLog b/net-print/foomatic-filters/ChangeLog index 3097b7328bd9..c0a33e162f17 100644 --- a/net-print/foomatic-filters/ChangeLog +++ b/net-print/foomatic-filters/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-print/foomatic-filters # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-filters/ChangeLog,v 1.46 2006/12/01 17:58:51 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-filters/ChangeLog,v 1.47 2006/12/03 14:42:36 genstef Exp $ + + 03 Dec 2006; Stefan Schweizer <genstef@gentoo.org> + foomatic-filters-3.0.20060720.ebuild: + Fix build with USE=-cups thanks to spanky in bug 156966 01 Dec 2006; Gustavo Zacarias <gustavoz@gentoo.org> foomatic-filters-3.0.20060720.ebuild: diff --git a/net-print/foomatic-filters/foomatic-filters-3.0.20060720.ebuild b/net-print/foomatic-filters/foomatic-filters-3.0.20060720.ebuild index 14716760617f..cf25b7438eff 100644 --- a/net-print/foomatic-filters/foomatic-filters-3.0.20060720.ebuild +++ b/net-print/foomatic-filters/foomatic-filters-3.0.20060720.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-filters/foomatic-filters-3.0.20060720.ebuild,v 1.10 2006/12/01 17:58:51 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-filters/foomatic-filters-3.0.20060720.ebuild,v 1.11 2006/12/03 14:42:36 genstef Exp $ inherit eutils versionator autotools @@ -37,8 +37,8 @@ src_unpack() { } src_compile() { - export CUPS_BACKENDS=$(cups-config --serverbin)/backend \ - CUPS_FILTERS=$(cups-config --serverbin)/filter CUPS=$(cups-config --serverbin) + export CUPS_BACKENDS=$(cups-config --serverbin 2>&1)/backend \ + CUPS_FILTERS=$(cups-config --serverbin 2>&1)/filter CUPS=$(cups-config --serverbin 2>&1) econf || die "econf failed" emake || die "emake failed" } @@ -52,6 +52,7 @@ src_install() { dosym /usr/bin/foomatic-gswrapper $(cups-config --serverbin)/filter/foomatic-gswrapper dosym /usr/bin/foomatic-rip $(cups-config --serverbin)/filter/cupsomatic else - rm -r "${D}"/$(cups-config --serverbin)/filter + rm -r "${D}"/$(cups-config --serverbin 2>&1)/filter + rm -r "${D}"/$(cups-config --serverbin 2>&1)/backend fi } |