summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Houser <chouser@gentoo.org>2001-09-08 08:31:25 +0000
committerChris Houser <chouser@gentoo.org>2001-09-08 08:31:25 +0000
commitb8de86b45d8031e463e7e0b57b85a8a64dc7e368 (patch)
tree387d6455d224b79a6d801fdfb4cc3eb34ecf8882 /gnome-base
parenthi. my name is blocke. and I'm an idiot when it comes to shell scripting ;) (diff)
downloadgentoo-2-b8de86b45d8031e463e7e0b57b85a8a64dc7e368.tar.gz
gentoo-2-b8de86b45d8031e463e7e0b57b85a8a64dc7e368.tar.bz2
gentoo-2-b8de86b45d8031e463e7e0b57b85a8a64dc7e368.zip
gnome-font-install tried to create /opt/gnome/share/fonts/fontmap2 during
compile. fixed. --disable-nls was not actually used. fixed.
Diffstat (limited to 'gnome-base')
-rw-r--r--gnome-base/gnome-print/gnome-print-0.29.ebuild17
1 files changed, 9 insertions, 8 deletions
diff --git a/gnome-base/gnome-print/gnome-print-0.29.ebuild b/gnome-base/gnome-print/gnome-print-0.29.ebuild
index 64689bf5db6a..b79a6f90841a 100644
--- a/gnome-base/gnome-print/gnome-print-0.29.ebuild
+++ b/gnome-base/gnome-print/gnome-print-0.29.ebuild
@@ -1,8 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# /home/cvsroot/gentoo-x86/gnome-base/gnome-print/gnome-print-0.28.ebuild,v 1.2 2001/04/19 16:37:12 achim Exp
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-print/gnome-print-0.29.ebuild,v 1.7 2001/08/31 22:54:33 hallski Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-print/gnome-print-0.29.ebuild,v 1.8 2001/09/08 08:31:25 chouser Exp $
A=${P}.tar.gz
@@ -23,14 +22,16 @@ DEPEND="${RDEPEND}
>=app-text/ghostscript-6.50-r2"
src_compile() {
+ # add missing DESTDIR to font installation
+ sed -e 's:install $(datadir):install $(DESTDIR)$(datadir):' \
+ installer/Makefile.in > installer/Makefile.in.new || die
+ mv installer/Makefile.in.new installer/Makefile.in || die
+
+ # apply use settings
local myconf
+ [ -z "`use nls`" ] && myconf="--disable-nls"
- if [ -z "`use nls`" ]
- then
- myconf="--disable-nls"
- fi
-
- ./configure --host=${CHOST} --prefix=/opt/gnome \
+ ./configure $myconf --host=${CHOST} --prefix=/opt/gnome \
--sysconfdir=/etc/opt/gnome --mandir=/opt/gnome/man
emake || die