diff options
author | Christoph Mende <angelos@gentoo.org> | 2009-01-05 18:28:57 +0000 |
---|---|---|
committer | Christoph Mende <angelos@gentoo.org> | 2009-01-05 18:28:57 +0000 |
commit | 1771360b4a28c24c693c198afbfab548ef4251af (patch) | |
tree | 0865a7f7022c43954d9e7ad6f2c89abeb556a9a5 /net-misc | |
parent | SRC_URI typo: mirrors->mirror (diff) | |
download | historical-1771360b4a28c24c693c198afbfab548ef4251af.tar.gz historical-1771360b4a28c24c693c198afbfab548ef4251af.tar.bz2 historical-1771360b4a28c24c693c198afbfab548ef4251af.zip |
QA: Fixed compilation with --as-needed (bug 248140), respect CC
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.28-dirty x86_64
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/raccess/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/raccess/files/raccess-0.7-asneeded.patch | 11 | ||||
-rw-r--r-- | net-misc/raccess/raccess-0.7.ebuild | 15 |
3 files changed, 26 insertions, 8 deletions
diff --git a/net-misc/raccess/ChangeLog b/net-misc/raccess/ChangeLog index c1c84304e97f..5faab0a5e4c6 100644 --- a/net-misc/raccess/ChangeLog +++ b/net-misc/raccess/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/raccess -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/raccess/ChangeLog,v 1.14 2007/02/22 02:43:37 peper Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/raccess/ChangeLog,v 1.15 2009/01/05 18:28:57 angelos Exp $ + + 05 Jan 2009; Christoph Mende <angelos@gentoo.org> + +files/raccess-0.7-asneeded.patch, raccess-0.7.ebuild: + QA: Fixed compilation with --as-needed (bug 248140), respect CC 22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog: Transition to Manifest2. diff --git a/net-misc/raccess/files/raccess-0.7-asneeded.patch b/net-misc/raccess/files/raccess-0.7-asneeded.patch new file mode 100644 index 000000000000..3db6945bcc0a --- /dev/null +++ b/net-misc/raccess/files/raccess-0.7-asneeded.patch @@ -0,0 +1,11 @@ +--- src/Makefile.in.orig 2009-01-05 19:23:26.671861574 +0100 ++++ src/Makefile.in 2009-01-05 19:23:37.603959062 +0100 +@@ -83,7 +83,7 @@ + detectos.o remote_attack_module.o lookfor.o + raccess_LDADD = $(LDADD) + raccess_DEPENDENCIES = +-raccess_LDFLAGS = -lm ++raccess_LDADD = -lm + BINFILES = -DLOCATION_BIN_FILES=\"/usr/lib/raccess\" + CFGFILES = -DLOCATION_CONFIG_FILES=\"@sysconfdir@\" + COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(BINFILES) $(CFGFILES) diff --git a/net-misc/raccess/raccess-0.7.ebuild b/net-misc/raccess/raccess-0.7.ebuild index 4dbd4c4611b0..1bd17b42df77 100644 --- a/net-misc/raccess/raccess-0.7.ebuild +++ b/net-misc/raccess/raccess-0.7.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/raccess/raccess-0.7.ebuild,v 1.7 2006/02/20 22:13:12 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/raccess/raccess-0.7.ebuild,v 1.8 2009/01/05 18:28:57 angelos Exp $ + +inherit eutils toolchain-funcs DESCRIPTION="Remote Access Session is an systems security analyzer" HOMEPAGE="http://salix.org/raccess/" @@ -15,17 +17,18 @@ DEPEND="net-libs/libpcap" src_unpack() { unpack ${A} - cd ${S} + cd "${S}" sed -i '/^BINFILES/s:@bindir@:/usr/lib/raccess:' src/Makefile.in sed -i '/^bindir/s:@bindir@/exploits:/usr/lib/raccess:' exploits/Makefile.in + epatch "${FILESDIR}"/${P}-asneeded.patch } src_compile() { - econf --sysconfdir=/etc/raccess || die - emake || die + econf --sysconfdir=/etc/raccess + emake CC="$(tc-getCC)" || die "emake failed" } src_install() { - make install DESTDIR=${D} || die + emake install DESTDIR="${D}" || die "emake install failed" dodoc AUTHORS ChangeLog NEWS PROJECT_PLANNING README } |