diff options
author | Jeroen Roovers <jer@gentoo.org> | 2008-10-10 11:20:01 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2008-10-10 11:20:01 +0000 |
commit | 0bd775169899b5a209e9f0b5f45306b37a73fc2a (patch) | |
tree | 80d5bd34de64ee76307c15ca21c671407765a7ce | |
parent | Removed old version an and closing bug #229693 (diff) | |
download | gentoo-2-0bd775169899b5a209e9f0b5f45306b37a73fc2a.tar.gz gentoo-2-0bd775169899b5a209e9f0b5f45306b37a73fc2a.tar.bz2 gentoo-2-0bd775169899b5a209e9f0b5f45306b37a73fc2a.zip |
Do not strip (bug #240764).
(Portage version: 2.2_rc11/cvs/Linux 2.6.25-gentoo-r7-JeR i686)
-rw-r--r-- | net-analyzer/ifstat/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/ifstat/files/ifstat-1.1-strip_and_cflags.patch | 36 | ||||
-rw-r--r-- | net-analyzer/ifstat/ifstat-1.1.ebuild | 15 |
3 files changed, 52 insertions, 7 deletions
diff --git a/net-analyzer/ifstat/ChangeLog b/net-analyzer/ifstat/ChangeLog index 0f6a45bf9dd3..aa9d6a5f2c4e 100644 --- a/net-analyzer/ifstat/ChangeLog +++ b/net-analyzer/ifstat/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/ifstat -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ifstat/ChangeLog,v 1.19 2007/08/30 03:02:00 jer Exp $ +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ifstat/ChangeLog,v 1.20 2008/10/10 11:20:01 jer Exp $ + + 10 Oct 2008; Jeroen Roovers <jer@gentoo.org> + +files/ifstat-1.1-strip_and_cflags.patch, ifstat-1.1.ebuild: + Do not strip (bug #240764). 30 Aug 2007; Jeroen Roovers <jer@gentoo.org> metadata.xml: Pick up maintainership. diff --git a/net-analyzer/ifstat/files/ifstat-1.1-strip_and_cflags.patch b/net-analyzer/ifstat/files/ifstat-1.1-strip_and_cflags.patch new file mode 100644 index 000000000000..a7bd0218f67d --- /dev/null +++ b/net-analyzer/ifstat/files/ifstat-1.1-strip_and_cflags.patch @@ -0,0 +1,36 @@ +Don't strip - bug #240764 + +--- configure.orig 2004-01-01 20:18:14.000000000 +0100 ++++ configure 2008-10-10 13:09:09.000000000 +0200 +@@ -551,7 +551,7 @@ + # Check whether --enable-debug or --disable-debug was given. + if test "${enable_debug+set}" = set; then + enableval="$enable_debug" +- CFLAGS="$CFLAGS -O2 -Wall -g" ++# CFLAGS="$CFLAGS -O2 -Wall -g" + CPPFLAGS="$CPPFLAGS -DDEBUG" + LDFLAGS="$LDFLAGS" + fi +@@ -560,8 +560,9 @@ + if test "${enable_optim+set}" = set; then + enableval="$enable_optim" + if test "x$enable_debug" != "xyes" ; then +- CFLAGS="$CFLAGS -O3 -fomit-frame-pointer -g0" +- LDFLAGS="$LDFLAGS -s" ++# CFLAGS="$CFLAGS -O3 -fomit-frame-pointer -g0" ++# LDFLAGS="$LDFLAGS -s" ++ true + else + echo "configure: warning: enable-optim and enable-debug are incompatible -- disabling optimizations" 1>&2 + fi +--- Makefile.in.orig 2002-09-19 02:00:40.000000000 +0200 ++++ Makefile.in 2008-10-10 13:17:39.000000000 +0200 +@@ -66,7 +66,7 @@ + + install-$(TARGET): $(TARGET) + $(INSTALL) -d -m 755 $(bindir) +- $(INSTALL) -s -m 755 $(TARGET) $(bindir)/$(TARGET) ++ $(INSTALL) -m 755 $(TARGET) $(bindir)/$(TARGET) + $(INSTALL) -d -m 755 $(mandir)/man1 + $(INSTALL) -m 644 ifstat.1 $(mandir)/man1/ifstat.1 + diff --git a/net-analyzer/ifstat/ifstat-1.1.ebuild b/net-analyzer/ifstat/ifstat-1.1.ebuild index 5caa0fd9ef82..068fc24b8ca7 100644 --- a/net-analyzer/ifstat/ifstat-1.1.ebuild +++ b/net-analyzer/ifstat/ifstat-1.1.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ifstat/ifstat-1.1.ebuild,v 1.12 2006/03/05 20:39:05 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ifstat/ifstat-1.1.ebuild,v 1.13 2008/10/10 11:20:01 jer Exp $ + +inherit eutils IUSE="snmp" @@ -15,9 +17,12 @@ KEYWORDS="sparc x86 amd64 ppc64 hppa ppc" DEPEND="virtual/libc snmp? ( >=net-analyzer/net-snmp-5.0 )" -src_compile() { - econf || die - make || die + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-strip_and_cflags.patch } src_install () { |