summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-10-23 02:02:02 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-10-23 02:02:02 +0000
commit984fdd0a536feee188e90a0f518d44e17a14517b (patch)
treea8406914b1521604560d15c865c91fb174633566 /app-admin/fetchlog
parentRespect LDFLAGS, respect CC. (diff)
downloadgentoo-2-984fdd0a536feee188e90a0f518d44e17a14517b.tar.gz
gentoo-2-984fdd0a536feee188e90a0f518d44e17a14517b.tar.bz2
gentoo-2-984fdd0a536feee188e90a0f518d44e17a14517b.zip
Respect CFLAGS, LDFLAGS, CC. Fixed DEPEND.
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64)
Diffstat (limited to 'app-admin/fetchlog')
-rw-r--r--app-admin/fetchlog/ChangeLog7
-rw-r--r--app-admin/fetchlog/fetchlog-1.0.ebuild11
2 files changed, 12 insertions, 6 deletions
diff --git a/app-admin/fetchlog/ChangeLog b/app-admin/fetchlog/ChangeLog
index 21ba90537a24..fd9ef4e14be1 100644
--- a/app-admin/fetchlog/ChangeLog
+++ b/app-admin/fetchlog/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-admin/fetchlog
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/fetchlog/ChangeLog,v 1.10 2007/01/24 14:13:55 genone Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/fetchlog/ChangeLog,v 1.11 2008/10/23 02:02:02 flameeyes Exp $
+
+ 23 Oct 2008; Diego Pettenò <flameeyes@gentoo.org> fetchlog-1.0.ebuild:
+ Respect CFLAGS, LDFLAGS, CC. Fixed DEPEND.
24 Jan 2007; Marius Mauch <genone@gentoo.org> fetchlog-0.94.ebuild,
fetchlog-1.0.ebuild:
diff --git a/app-admin/fetchlog/fetchlog-1.0.ebuild b/app-admin/fetchlog/fetchlog-1.0.ebuild
index efae314f8ce9..4de5d59a5c64 100644
--- a/app-admin/fetchlog/fetchlog-1.0.ebuild
+++ b/app-admin/fetchlog/fetchlog-1.0.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/fetchlog/fetchlog-1.0.ebuild,v 1.7 2007/01/24 14:13:55 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/fetchlog/fetchlog-1.0.ebuild,v 1.8 2008/10/23 02:02:02 flameeyes Exp $
+
+inherit toolchain-funcs
DESCRIPTION="Displays the last new messages of a logfile"
HOMEPAGE="http://fetchlog.sourceforge.net/"
@@ -11,7 +13,7 @@ KEYWORDS="amd64 ppc x86"
IUSE="snmp"
-DEPEND="snmp? (
+RDEPEND="snmp? (
>=dev-perl/Net-SNMP-4.0.1-r2
>=net-analyzer/net-snmp-5.0.6
)"
@@ -27,7 +29,8 @@ pkg_preinst() {
}
src_compile() {
- emake || die
+ # Links the .c file straight to the binary
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}" || die
}
src_install() {