diff options
author | Michael Sterrett <msterret@gentoo.org> | 2003-09-05 02:10:38 +0000 |
---|---|---|
committer | Michael Sterrett <msterret@gentoo.org> | 2003-09-05 02:10:38 +0000 |
commit | b05b93d54a1b7e54132343265adf2eb09ab635a3 (patch) | |
tree | e36e53b6a4a3eb0cd3ec0909699a0d14e145a341 /sys-devel/make/make-3.79.1-r4.ebuild | |
parent | Fixing all 80+ syntax errors (diff) | |
download | gentoo-2-b05b93d54a1b7e54132343265adf2eb09ab635a3.tar.gz gentoo-2-b05b93d54a1b7e54132343265adf2eb09ab635a3.tar.bz2 gentoo-2-b05b93d54a1b7e54132343265adf2eb09ab635a3.zip |
whitespace cleanup
Diffstat (limited to 'sys-devel/make/make-3.79.1-r4.ebuild')
-rw-r--r-- | sys-devel/make/make-3.79.1-r4.ebuild | 41 |
1 files changed, 19 insertions, 22 deletions
diff --git a/sys-devel/make/make-3.79.1-r4.ebuild b/sys-devel/make/make-3.79.1-r4.ebuild index ac16f4257f81..7d40e58703df 100644 --- a/sys-devel/make/make-3.79.1-r4.ebuild +++ b/sys-devel/make/make-3.79.1-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/make/make-3.79.1-r4.ebuild,v 1.9 2003/02/13 16:33:50 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/make/make-3.79.1-r4.ebuild,v 1.10 2003/09/05 02:07:39 msterret Exp $ IUSE="nls static build" @@ -17,38 +17,35 @@ DEPEND="virtual/glibc nls? ( sys-devel/gettext )" RDEPEND="virtual/glibc" src_compile() { + local myconf="" + if [ -z "`use nls`" ] + then + myconf="--disable-nls" + fi - local myconf="" - if [ -z "`use nls`" ] - then - myconf="--disable-nls" - fi - ./configure --prefix=/usr \ --mandir=/usr/share/man \ - --info=/usr/share/info \ + --info=/usr/share/info \ --host=${CHOST} \ ${myconf} || die - if [ -z "`use static`" ] - then + if [ -z "`use static`" ] + then make ${MAKEOPTS} || die - else + else make ${MAKEOPTS} LDFLAGS=-static || die - fi + fi } src_install() { - - if [ -z "`use build`" ] - then - make DESTDIR=${D} install || die + if [ -z "`use build`" ] + then + make DESTDIR=${D} install || die chmod 0755 ${D}/usr/bin/make - - dodoc AUTHORS COPYING ChangeLog NEWS README* - else - dobin make - fi -} + dodoc AUTHORS COPYING ChangeLog NEWS README* + else + dobin make + fi +} |