summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-03-08 22:10:02 +0000
committerAron Griffis <agriffis@gentoo.org>2004-03-08 22:10:02 +0000
commitcf40f9d515bef8e314dd1527bdb58353480b8cf5 (patch)
tree3ea0422081ec9620fa4e704ee0c730a121a83d04 /sys-apps/grep
parentabi 204 mask (diff)
downloadgentoo-2-cf40f9d515bef8e314dd1527bdb58353480b8cf5.tar.gz
gentoo-2-cf40f9d515bef8e314dd1527bdb58353480b8cf5.tar.bz2
gentoo-2-cf40f9d515bef8e314dd1527bdb58353480b8cf5.zip
Use symlinks for egrep and fgrep.. faster, smaller, cleaner, more elegant
Diffstat (limited to 'sys-apps/grep')
-rw-r--r--sys-apps/grep/ChangeLog5
-rw-r--r--sys-apps/grep/grep-2.5.1-r1.ebuild7
2 files changed, 10 insertions, 2 deletions
diff --git a/sys-apps/grep/ChangeLog b/sys-apps/grep/ChangeLog
index 94abc43de594..2a21b12a347e 100644
--- a/sys-apps/grep/ChangeLog
+++ b/sys-apps/grep/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/grep
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/ChangeLog,v 1.20 2004/03/05 18:13:37 iggy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/ChangeLog,v 1.21 2004/03/08 22:10:02 agriffis Exp $
+
+ 08 Mar 2004; Aron Griffis <agriffis@gentoo.org> grep-2.5.1-r1.ebuild:
+ Use symlinks for egrep and fgrep.. faster, smaller, cleaner, more elegant
02 Mar 2004; Brian Jackson <iggy@gentoo.org> grep-2.5.1-r1.ebuild:
adding initial s390 support
diff --git a/sys-apps/grep/grep-2.5.1-r1.ebuild b/sys-apps/grep/grep-2.5.1-r1.ebuild
index 0282956261ff..89b4664445ee 100644
--- a/sys-apps/grep/grep-2.5.1-r1.ebuild
+++ b/sys-apps/grep/grep-2.5.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/grep-2.5.1-r1.ebuild,v 1.17 2004/03/02 16:55:14 iggy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/grep-2.5.1-r1.ebuild,v 1.18 2004/03/08 22:10:02 agriffis Exp $
inherit gnuconfig flag-o-matic
@@ -47,6 +47,11 @@ src_compile() {
src_install() {
einstall bindir=${D}/bin || die "einstall failed"
+ # Override the default shell scripts... grep knows how to act
+ # based on how it's called
+ ln -sfn grep ${D}/bin/egrep || die "ln egrep failed"
+ ln -sfn grep ${D}/bin/fgrep || die "ln fgrep failed"
+
if use build; then
rm -rf ${D}/usr/share
else