summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/diffutils/diffutils-2.7.5.ebuild')
-rw-r--r--sys-apps/diffutils/diffutils-2.7.5.ebuild21
1 files changed, 14 insertions, 7 deletions
diff --git a/sys-apps/diffutils/diffutils-2.7.5.ebuild b/sys-apps/diffutils/diffutils-2.7.5.ebuild
index b58006acd6ef..59090e2bbf15 100644
--- a/sys-apps/diffutils/diffutils-2.7.5.ebuild
+++ b/sys-apps/diffutils/diffutils-2.7.5.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# Author: Daniel Robbins <drobbins@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/diffutils/diffutils-2.7.5.ebuild,v 1.1 2001/12/17 12:36:41 azarah Exp $
+# Maintainer: Daniel Robbins <drobbins@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/diffutils/diffutils-2.7.5.ebuild,v 1.2 2001/12/31 23:47:55 azarah Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Tools to make diffs and compare files"
@@ -24,20 +24,27 @@ src_unpack() {
}
src_compile() {
- local myconf
+ local myconf=""
[ -z "`use nls`" ] && myconf="--disable-nls"
- ./configure --host=${CHOST} --prefix=/usr ${myconf} || die
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ ${myconf} || die
+
if [ "`use build`" ]
then
#disable texinfo building so we can remove the dep
cp Makefile Makefile.orig
- sed -e 's/^all: ${PROGRAMS} info/all: ${PROGRAMS}/g' Makefile.orig > Makefile
+ sed -e 's/^all: ${PROGRAMS} info/all: ${PROGRAMS}/g' \
+ Makefile.orig > Makefile
fi
emake || die
}
src_install() {
- make prefix=${D}/usr infodir=${D}/usr/share/info install || die
+ make prefix=${D}/usr \
+ infodir=${D}/usr/share/info \
+ install || die
+
if [ -z "`use build`" ]
then
dodoc COPYING ChangeLog NEWS README