diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2010-08-10 08:08:33 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2010-08-10 08:08:33 +0000 |
commit | dc4912dd6c15b9ec66a06be08a17633a868137ff (patch) | |
tree | a15c30baceb4ed4d99e50f3aab7486a3b1add8da /net-misc/getdate/getdate-1.2.ebuild | |
parent | Fork eblits for stable glibc, and convert unstable to `emake`. (diff) | |
download | gentoo-2-dc4912dd6c15b9ec66a06be08a17633a868137ff.tar.gz gentoo-2-dc4912dd6c15b9ec66a06be08a17633a868137ff.tar.bz2 gentoo-2-dc4912dd6c15b9ec66a06be08a17633a868137ff.zip |
Respect LDFLAGS wrt bug 331801. Thanks to Diego for report. Clean ebuild, add ~amd64
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/getdate/getdate-1.2.ebuild')
-rw-r--r-- | net-misc/getdate/getdate-1.2.ebuild | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/net-misc/getdate/getdate-1.2.ebuild b/net-misc/getdate/getdate-1.2.ebuild index 443a21b8525e..4d08a3ae3eec 100644 --- a/net-misc/getdate/getdate-1.2.ebuild +++ b/net-misc/getdate/getdate-1.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/getdate/getdate-1.2.ebuild,v 1.11 2009/09/23 19:35:47 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/getdate/getdate-1.2.ebuild,v 1.12 2010/08/10 08:08:33 xarthisius Exp $ inherit toolchain-funcs @@ -8,32 +8,28 @@ MY_PN=${PN}_rfc868 MY_P=${MY_PN}-${PV} S=${WORKDIR}/${MY_P} -IUSE="" DESCRIPTION="Network Date/Time Query and Set Local Date/Time Utility" HOMEPAGE="http://www.ibiblio.org/pub/Linux/system/network/misc/" SRC_URI="http://www.ibiblio.org/pub/Linux/system/network/misc/${MY_P}.tar.gz" LICENSE="as-is" SLOT="0" -KEYWORDS="x86 ~mips ppc" - -DEPEND="" -RDEPEND="${DEPEND}" +KEYWORDS="~amd64 ~mips ppc x86" +IUSE="" src_unpack() { unpack ${A} cd "${S}" - - #remove prestripped binary as per bug #240934 - sed -i -e "s:install -s:install:" Makefile + sed -i -e "/errno.h/ a\#include <string.h>" getdate.c || die } src_compile() { - $(tc-getCC) ${CFLAGS} -DHAVE_ADJTIME -o getdate getdate.c || die + einfo $(tc-getCC) ${LDFLAGS} ${CFLAGS} -DHAVE_ADJTIME -o getdate getdate.c + $(tc-getCC) ${LDFLAGS} ${CFLAGS} -DHAVE_ADJTIME -o getdate getdate.c || die } src_install() { - dobin getdate || die "dobin failed" - doman getdate.8 - dodoc README getdate-cron + dobin getdate || die + doman getdate.8 || die + dodoc README getdate-cron || die } |