summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gryniewicz <dang@gentoo.org>2009-01-14 16:26:28 +0000
committerDaniel Gryniewicz <dang@gentoo.org>2009-01-14 16:26:28 +0000
commitf8fa51df700ecd4d4235d417bc8b637a40f18fe1 (patch)
treede31f8be1076c3a71c79e3c6c1c5d5c3e5bc9c01 /app-admin/logrotate
parentVersion bump and add support for USE=python #246182 by Alex Guensche. (diff)
downloadgentoo-2-f8fa51df700ecd4d4235d417bc8b637a40f18fe1.tar.gz
gentoo-2-f8fa51df700ecd4d4235d417bc8b637a40f18fe1.tar.bz2
gentoo-2-f8fa51df700ecd4d4235d417bc8b637a40f18fe1.zip
Try again to fix fbsd; bug #254795
(Portage version: 2.2_rc21/cvs/Linux 2.6.28-gentoo x86_64)
Diffstat (limited to 'app-admin/logrotate')
-rw-r--r--app-admin/logrotate/ChangeLog5
-rw-r--r--app-admin/logrotate/logrotate-3.7.7.ebuild6
2 files changed, 7 insertions, 4 deletions
diff --git a/app-admin/logrotate/ChangeLog b/app-admin/logrotate/ChangeLog
index 048c4e997ae6..4ad65d7b318d 100644
--- a/app-admin/logrotate/ChangeLog
+++ b/app-admin/logrotate/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-admin/logrotate
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v 1.74 2009/01/13 21:52:35 dang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v 1.75 2009/01/14 16:26:28 dang Exp $
+
+ 14 Jan 2009; Daniel Gryniewicz <dang@gentoo.org> logrotate-3.7.7.ebuild:
+ Try again to fix fbsd; bug #254795
13 Jan 2009; Daniel Gryniewicz <dang@gentoo.org>
+files/logrotate-3.7.7-fbsd.patch, logrotate-3.7.7.ebuild:
diff --git a/app-admin/logrotate/logrotate-3.7.7.ebuild b/app-admin/logrotate/logrotate-3.7.7.ebuild
index 0152ef326ea3..1dee9713d872 100644
--- a/app-admin/logrotate/logrotate-3.7.7.ebuild
+++ b/app-admin/logrotate/logrotate-3.7.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/logrotate-3.7.7.ebuild,v 1.2 2009/01/13 21:52:35 dang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/logrotate-3.7.7.ebuild,v 1.3 2009/01/14 16:26:28 dang Exp $
inherit eutils toolchain-funcs flag-o-matic
@@ -29,7 +29,6 @@ src_unpack() {
strip-flags
sed -i \
- -e "s:CFLAGS += -g:CFLAGS += -g ${CFLAGS}:" \
-e "/CVSROOT =/d" \
Makefile || die "sed failed"
@@ -43,7 +42,8 @@ src_compile() {
local myconf
myconf="CC=$(tc-getCC)"
useq selinux && myconf="${myconf} WITH_SELINUX=yes"
- emake ${myconf} || die "emake failed"
+ use elibc_FreeBSD && append-flags -DNO_ALLOCA_H
+ emake ${myconf} RPM_OPT_FLAGS="${CFLAGS}" || die "emake failed"
}
src_install() {