summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-12-01 23:01:11 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-12-01 23:01:11 +0000
commit5ad3d9a57bcf7fdd4087810be29da9b821f1ec6e (patch)
tree071f8abc61d411294f5fee1477e8d07db5a7183f /sys-devel/flex/flex-2.5.4a-r5.ebuild
parentadd missing libglut.so.3 symlink (diff)
downloadgentoo-2-5ad3d9a57bcf7fdd4087810be29da9b821f1ec6e.tar.gz
gentoo-2-5ad3d9a57bcf7fdd4087810be29da9b821f1ec6e.tar.bz2
gentoo-2-5ad3d9a57bcf7fdd4087810be29da9b821f1ec6e.zip
emake->make
Diffstat (limited to 'sys-devel/flex/flex-2.5.4a-r5.ebuild')
-rw-r--r--sys-devel/flex/flex-2.5.4a-r5.ebuild30
1 files changed, 15 insertions, 15 deletions
diff --git a/sys-devel/flex/flex-2.5.4a-r5.ebuild b/sys-devel/flex/flex-2.5.4a-r5.ebuild
index 20ae2dc056b4..32e959566026 100644
--- a/sys-devel/flex/flex-2.5.4a-r5.ebuild
+++ b/sys-devel/flex/flex-2.5.4a-r5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/flex-2.5.4a-r5.ebuild,v 1.2 2002/10/16 14:38:27 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/flex-2.5.4a-r5.ebuild,v 1.3 2002/12/01 23:01:11 seemant Exp $
S="${WORKDIR}/flex-2.5.4"
DESCRIPTION="GNU lexical analyser generator"
@@ -26,28 +26,28 @@ src_unpack() {
}
src_compile() {
- ./configure --prefix=/usr \
+ ./configure --prefix=/usr \
--host=${CHOST} || die
- if [ -z "`use static`" ]
- then
- emake || die
- else
- emake LDFLAGS=-static || die
- fi
+ if [ -z "`use static`" ]
+ then
+ emake || make || die
+ else
+ emake LDFLAGS=-static || die
+ fi
}
src_install() {
- make prefix=${D}/usr \
+ make prefix=${D}/usr \
mandir=${D}/usr/share/man/man1 \
install || die
- if [ -z "`use build`" ]
- then
- dodoc COPYING NEWS README
- else
- rm -rf ${D}/usr/share ${D}/usr/include ${D}/usr/lib
- fi
+ if [ -z "`use build`" ]
+ then
+ dodoc COPYING NEWS README
+ else
+ rm -rf ${D}/usr/share ${D}/usr/include ${D}/usr/lib
+ fi
dosym flex /usr/bin/lex
}