From f8fa51df700ecd4d4235d417bc8b637a40f18fe1 Mon Sep 17 00:00:00 2001 From: Daniel Gryniewicz Date: Wed, 14 Jan 2009 16:26:28 +0000 Subject: Try again to fix fbsd; bug #254795 (Portage version: 2.2_rc21/cvs/Linux 2.6.28-gentoo x86_64) --- app-admin/logrotate/ChangeLog | 5 ++++- app-admin/logrotate/logrotate-3.7.7.ebuild | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'app-admin/logrotate') 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 logrotate-3.7.7.ebuild: + Try again to fix fbsd; bug #254795 13 Jan 2009; Daniel Gryniewicz +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() { -- cgit v1.2.3-65-gdbad