summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared H.Hudson <jhhudso@gentoo.org>2004-01-04 07:10:50 +0000
committerJared H.Hudson <jhhudso@gentoo.org>2004-01-04 07:10:50 +0000
commit7c96471500e28dd11fa981bc48d7cd5f50e59930 (patch)
tree6416d76c46b953c0168c00c42db64ab7a8de9b46 /dev-lang/squeak/squeak-3.4.1-r2.ebuild
parentver bump (diff)
downloadgentoo-2-7c96471500e28dd11fa981bc48d7cd5f50e59930.tar.gz
gentoo-2-7c96471500e28dd11fa981bc48d7cd5f50e59930.tar.bz2
gentoo-2-7c96471500e28dd11fa981bc48d7cd5f50e59930.zip
Fixed ebuild so tail was used correctly in Makefiles
Diffstat (limited to 'dev-lang/squeak/squeak-3.4.1-r2.ebuild')
-rw-r--r--dev-lang/squeak/squeak-3.4.1-r2.ebuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/dev-lang/squeak/squeak-3.4.1-r2.ebuild b/dev-lang/squeak/squeak-3.4.1-r2.ebuild
index 9f9acd5a35b6..29e058082806 100644
--- a/dev-lang/squeak/squeak-3.4.1-r2.ebuild
+++ b/dev-lang/squeak/squeak-3.4.1-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak/squeak-3.4.1-r2.ebuild,v 1.1 2003/12/03 16:55:39 jhhudso Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak/squeak-3.4.1-r2.ebuild,v 1.2 2004/01/04 07:10:42 jhhudso Exp $
inherit libtool flag-o-matic eutils
strip-flags
@@ -43,7 +43,16 @@ src_compile() {
use oss && myconf="${myconf} --with-audio=oss"
use mmx && myconf="${myconf} --enable-mpg-mmx"
+ # fix tail problems
+ cd ${S}/platforms/unix/config
+ mv mkconfig.in mkconfig.in.$$
+ cat mkconfig.in.$$|sed 's/tail -1/tail -n 1/g' > mkconfig.in
+ mv verstamp verstamp.$$
+ cat verstamp.$$|sed 's/tail -1/tail -n 1/g' > verstamp
+ chmod +x verstamp
+
cd ${S}
+
mkdir build
cd build
../platforms/unix/config/configure \