diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-01-03 03:06:44 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-01-03 03:06:44 +0000 |
commit | a717c4a314f23d187065da0b7fc304aecc9819d1 (patch) | |
tree | 2647eda0cd46c3df8224f9174f69992033db0d11 /net-dialup | |
parent | fixed unpack (diff) | |
download | gentoo-2-a717c4a314f23d187065da0b7fc304aecc9819d1.tar.gz gentoo-2-a717c4a314f23d187065da0b7fc304aecc9819d1.tar.bz2 gentoo-2-a717c4a314f23d187065da0b7fc304aecc9819d1.zip |
fix CFLAG adding
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/minicom/minicom-1.83.1-r1.ebuild | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/net-dialup/minicom/minicom-1.83.1-r1.ebuild b/net-dialup/minicom/minicom-1.83.1-r1.ebuild index 5cd8c81b6bea..9a70cb8df45e 100644 --- a/net-dialup/minicom/minicom-1.83.1-r1.ebuild +++ b/net-dialup/minicom/minicom-1.83.1-r1.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/net-dialup/minicom/minicom-1.83.1-r1.ebuild,v 1.7 2002/10/04 06:01:45 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/minicom/minicom-1.83.1-r1.ebuild,v 1.8 2003/01/03 03:06:44 vapier Exp $ S=${WORKDIR}/${P} DESCRIPTION="Serial Communication Program" @@ -14,11 +14,10 @@ LICENSE="GPL-2" KEYWORDS="x86" src_unpack() { - unpack ${A} cd ${S}/src cp Makefile Makefile.orig - sed -e "s:^FLAGS\t=.*$:FLAGS\t= -Wall -D_POSIX -D_SYSV -D_SELECT -pipe # -I/usr/include/ncurses ${CFLAGS}:" \ + sed -e "s:^FLAGS\t=.*$:FLAGS\t= -Wall -D_POSIX -D_SYSV -D_SELECT ${CFLAGS} -pipe # -I/usr/include/ncurses:" \ -e "s:^LFLAGS\t=.*$:LFLAGS\t= -s ${CFLAGS}:" \ -e "s:^CC\t=.*$:CC\t= gcc:" \ -e "s:^LIBDIR\t=.*$:LIBDIR\t= /etc/minicom:" \ @@ -35,18 +34,14 @@ src_unpack() { cp po/Makefile po/Makefile.orig sed -e 's:ko.mo::g' \ po/Makefile.orig > po/Makefile - } src_compile() { - cd src make || die - } src_install() { - dobin src/minicom src/ascii-xfr src/runscript doman man/minicom.1 man/ascii-xfr.1 man/runscript.1 dodoc doc/minicom.FAQ @@ -58,5 +53,4 @@ src_install() { doins ${FILESDIR}/minirc.dfl dodoc Readme Copyright - } |