From ab34c67af70e33e140ce1a342e645d039400c306 Mon Sep 17 00:00:00 2001
From: Rainer Groesslinger <scandium@gentoo.org>
Date: Sat, 20 Sep 2003 15:50:11 +0000
Subject: minor fixes

---
 dev-lang/pike/Manifest           |  4 ++--
 dev-lang/pike/pike-7.4.20.ebuild | 10 +++++-----
 dev-lang/pike/pike-7.4.28.ebuild | 10 +++++-----
 3 files changed, 12 insertions(+), 12 deletions(-)

(limited to 'dev-lang/pike')

diff --git a/dev-lang/pike/Manifest b/dev-lang/pike/Manifest
index 08d0e521d71d..8c04948439cc 100644
--- a/dev-lang/pike/Manifest
+++ b/dev-lang/pike/Manifest
@@ -1,6 +1,6 @@
 MD5 aee5f0f2c6a16063234613504035eaec ChangeLog 530
 MD5 7164d2a546785fee1e77dac8839fdeaa metadata.xml 224
-MD5 2e4bf66ea0424d1ed0b3b7bc455d5799 pike-7.4.20.ebuild 1659
-MD5 4333b50e3bbf9165fa4ebdd941226c2e pike-7.4.28.ebuild 1645
+MD5 4872fc15610e04e88ff6a8e9754a09e7 pike-7.4.20.ebuild 1564
+MD5 41f4de460ebba5d0df226c24501b708c pike-7.4.28.ebuild 1550
 MD5 308f6090a8fe96c717509be0d49c460f files/digest-pike-7.4.20 65
 MD5 1cccd76eeefbf61cd9f6133718f04d5f files/digest-pike-7.4.28 65
diff --git a/dev-lang/pike/pike-7.4.20.ebuild b/dev-lang/pike/pike-7.4.20.ebuild
index 4201bf52d447..3882c6d9c269 100644
--- a/dev-lang/pike/pike-7.4.20.ebuild
+++ b/dev-lang/pike/pike-7.4.20.ebuild
@@ -1,6 +1,6 @@
 # Copyright 1999-2003 Gentoo Technologies, Inc., Emil Sk�ldberg (see ChangeLog)
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/pike/pike-7.4.20.ebuild,v 1.10 2003/09/16 16:30:10 scandium Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/pike/pike-7.4.20.ebuild,v 1.11 2003/09/20 15:50:05 scandium Exp $
 
 inherit flag-o-matic
 
@@ -36,13 +36,13 @@ src_compile() {
 	# disable ffmpeg support because it does not compile
 	emake CONFIGUREARGS="${myconf} --prefix=/usr --disable-make_conf --without-ffmpeg" || die
 
-	cd ${S}/refdoc
-	PATH="${S}/bin:${PATH}" make || die
+	# only build documentation if 'doc' is in USE
+	if use doc; then
+		PATH="${S}/bin:${PATH}" make doc || die
+	fi
 }
 
 src_install() {
-	# the installer should be stopped from removing files
-	sed -i s/rm\(mod\+\"\.o\"\)\;/\{\}/ ${S}/bin/install.pike || die "Failed to modify install.pike"
 	make INSTALLARGS="--traditional" buildroot="${D}" install || die
 
 	if use doc; then
diff --git a/dev-lang/pike/pike-7.4.28.ebuild b/dev-lang/pike/pike-7.4.28.ebuild
index c950ca17f50a..99034539d6fa 100644
--- a/dev-lang/pike/pike-7.4.28.ebuild
+++ b/dev-lang/pike/pike-7.4.28.ebuild
@@ -1,6 +1,6 @@
 # Copyright 1999-2003 Gentoo Technologies, Inc., Emil Sk�ldberg (see ChangeLog)
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/pike/pike-7.4.28.ebuild,v 1.1 2003/09/20 11:17:11 scandium Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/pike/pike-7.4.28.ebuild,v 1.2 2003/09/20 15:50:06 scandium Exp $
 
 inherit flag-o-matic
 
@@ -35,13 +35,13 @@ src_compile() {
 	# disable ffmpeg support because it does not compile
 	emake CONFIGUREARGS="${myconf} --prefix=/usr --disable-make_conf --without-ffmpeg" || die
 
-	cd ${S}/refdoc
-	PATH="${S}/bin:${PATH}" make || die
+	# only build documentation if 'doc' is in USE
+	if use doc; then
+		PATH="${S}/bin:${PATH}" make doc || die
+	fi
 }
 
 src_install() {
-	# the installer should be stopped from removing files
-	sed -i s/rm\(mod\+\"\.o\"\)\;/\{\}/ ${S}/bin/install.pike || die "Failed to modify install.pike"
 	make INSTALLARGS="--traditional" buildroot="${D}" install || die
 
 	if use doc; then
-- 
cgit v1.2.3-65-gdbad