diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2002-07-15 07:22:47 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2002-07-15 07:22:47 +0000 |
commit | c64766265ba3d94cbbe1db7443e0aa821a0c2a3f (patch) | |
tree | 50dbc2bd9014c74fb7040b61761d68be2a53b70a /net-analyzer | |
parent | masked etherape-0.8.2-r1 until tested under gcc2 (diff) | |
download | historical-c64766265ba3d94cbbe1db7443e0aa821a0c2a3f.tar.gz historical-c64766265ba3d94cbbe1db7443e0aa821a0c2a3f.tar.bz2 historical-c64766265ba3d94cbbe1db7443e0aa821a0c2a3f.zip |
fix for gcc3.1
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/etherape/ChangeLog | 10 | ||||
-rw-r--r-- | net-analyzer/etherape/etherape-0.8.2-r1.ebuild | 51 | ||||
-rw-r--r-- | net-analyzer/etherape/files/digest-etherape-0.8.2-r1 | 1 | ||||
-rw-r--r-- | net-analyzer/etherape/files/etherape-0.8.2-gcc3-gentoo.patch | 11 |
4 files changed, 72 insertions, 1 deletions
diff --git a/net-analyzer/etherape/ChangeLog b/net-analyzer/etherape/ChangeLog index cf80d8fd4dcf..4ef50c21f22c 100644 --- a/net-analyzer/etherape/ChangeLog +++ b/net-analyzer/etherape/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-analyzer/etherape # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/etherape/ChangeLog,v 1.1 2002/02/01 21:53:31 gbevin Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/etherape/ChangeLog,v 1.2 2002/07/15 07:22:47 mkennedy Exp $ + +*etherape-0.8.2-r1 (14 Jul 2002) + + 14 Jul 2002; Matthew Kennedy <mkennedy@gentoo.org> ChangeLog, + etherape-0.8.2-r1.ebuild, files/etherape-0.8.2-gcc3-gentoo.patch, + files/digest-etherape-0.8.2-r1 : + + Fix for gcc3.1. *etherape-0.8.2 (1 Feb 2002) diff --git a/net-analyzer/etherape/etherape-0.8.2-r1.ebuild b/net-analyzer/etherape/etherape-0.8.2-r1.ebuild new file mode 100644 index 000000000000..48265b917498 --- /dev/null +++ b/net-analyzer/etherape/etherape-0.8.2-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/etherape/etherape-0.8.2-r1.ebuild,v 1.1 2002/07/15 07:22:47 mkennedy Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="A graphical network monitor for Unix modeled after etherman" +SRC_URI="mirror://sourceforge/etherape/${P}.tar.gz" +HOMEPAGE="http://etherape.sourceforge.net/" + +DEPEND=" =x11-libs/gtk+-1.2* + >=gnome-base/gnome-libs-1.4.1.2-r1 + >=net-libs/libpcap-0.6.1 + >=gnome-base/libglade-0.17-r3 " + +RDEPEND="${DEPEND}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" + +src_unpack() { + unpack ${A} + cd ${S} + patch -p1 <${FILESDIR}/etherape-0.8.2-gcc3-gentoo.patch +} + +src_compile() { + + local myconf + + use nls || myconf="--disable-nls" + + # configure script not listening to libglade-config? + CFLAGS="${CFLAGS} `/usr/bin/libglade-config --cflags`" + + ./configure --host=${CHOST} \ + --prefix=/usr \ + --sysconfdir=/etc \ + ${myconf} || die + + emake || die +} + +src_install() { + + make prefix=${D}/usr sysconfdir=${D}/etc install || die + + dodoc ABOUT-NLS AUTHORS COPYING ChangeLog FAQ INSTALL NEWS OVERVIEW + dodoc README README.bugs README.help README.thanks TODO +} + diff --git a/net-analyzer/etherape/files/digest-etherape-0.8.2-r1 b/net-analyzer/etherape/files/digest-etherape-0.8.2-r1 new file mode 100644 index 000000000000..5723265dbaaf --- /dev/null +++ b/net-analyzer/etherape/files/digest-etherape-0.8.2-r1 @@ -0,0 +1 @@ +MD5 30244b1e4d24f7e1154d789002caa1e9 etherape-0.8.2.tar.gz 421861 diff --git a/net-analyzer/etherape/files/etherape-0.8.2-gcc3-gentoo.patch b/net-analyzer/etherape/files/etherape-0.8.2-gcc3-gentoo.patch new file mode 100644 index 000000000000..56d7383d3efb --- /dev/null +++ b/net-analyzer/etherape/files/etherape-0.8.2-gcc3-gentoo.patch @@ -0,0 +1,11 @@ +--- etherape-0.8.2/configure Fri Aug 10 04:40:37 2001 ++++ /tmp/etherape-0.8.2/configure Mon Jul 15 02:03:21 2002 +@@ -5038,7 +5038,7 @@ + echo $ac_n "checking for extraneous pcap header directories""... $ac_c" 1>&6 + echo "configure:5040: checking for extraneous pcap header directories" >&5 + found_pcap_dir="" +- for pcap_dir in /usr/include/pcap /usr/local/include/pcap $prefix/include ++ for pcap_dir in /usr/include/pcap /usr/local/include/pcap + do + if test -d $pcap_dir ; then + CFLAGS="$CFLAGS -I$pcap_dir" |