diff options
author | Ulrich Müller <ulm@gentoo.org> | 2008-04-13 12:54:07 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2008-04-13 12:54:07 +0000 |
commit | fc441b258297c12a58d17f449f0b655f0c915c4c (patch) | |
tree | 65a77471aa78c748f56924eb70b8d77f17d7ff3d /media-gfx/jpeg2ps | |
parent | Stable on ppc64; bug #217373 (diff) | |
download | gentoo-2-fc441b258297c12a58d17f449f0b655f0c915c4c.tar.gz gentoo-2-fc441b258297c12a58d17f449f0b655f0c915c4c.tar.bz2 gentoo-2-fc441b258297c12a58d17f449f0b655f0c915c4c.zip |
Set default paper size according to "metric" USE flag, bug 61922.
(Portage version: 2.1.5_rc2)
Diffstat (limited to 'media-gfx/jpeg2ps')
-rw-r--r-- | media-gfx/jpeg2ps/ChangeLog | 5 | ||||
-rw-r--r-- | media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild | 9 |
2 files changed, 7 insertions, 7 deletions
diff --git a/media-gfx/jpeg2ps/ChangeLog b/media-gfx/jpeg2ps/ChangeLog index 8501604ede9a..db2f8a394408 100644 --- a/media-gfx/jpeg2ps/ChangeLog +++ b/media-gfx/jpeg2ps/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-gfx/jpeg2ps # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/jpeg2ps/ChangeLog,v 1.22 2008/01/26 10:37:58 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/jpeg2ps/ChangeLog,v 1.23 2008/04/13 12:54:07 ulm Exp $ + + 13 Apr 2008; Ulrich Mueller <ulm@gentoo.org> jpeg2ps-1.9-r1.ebuild: + Set default paper size according to "metric" USE flag, bug 61922. 26 Jan 2008; Fabian Groffen <grobian@gentoo.org> jpeg2ps-1.9-r1.ebuild: Dropped ppc-macos keyword, see you in prefix diff --git a/media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild b/media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild index 5b12f92e7bd0..c78c8e091390 100644 --- a/media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild +++ b/media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild,v 1.15 2008/01/26 10:37:58 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild,v 1.16 2008/04/13 12:54:07 ulm Exp $ inherit eutils @@ -11,7 +11,7 @@ SRC_URI="http://www.pdflib.com/products/more/jpeg2ps/${P}.tar.gz" LICENSE="free-noncomm" SLOT="0" KEYWORDS="amd64 ppc ~ppc64 sparc x86" -IUSE="" +IUSE="metric" DEPEND="sys-apps/sed" RDEPEND="" @@ -25,10 +25,7 @@ src_unpack() { src_compile() { pagesize="" - if [ -h /etc/localtime ]; then - local continent=$(readlink /etc/localtime | cut -d / -f 5) - [ "${continent}" = "Europe" ] && pagesize="-DA4" - fi + use metric && pagesize="-DA4" emake CFLAGS="-c ${CFLAGS} ${pagesize}" || die "emake failed" } |