summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2010-08-10 08:08:33 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2010-08-10 08:08:33 +0000
commitb1f1604997b3a3673766665cccc3c541d2f6a0c4 (patch)
treeb484499a07ac72108719a88caa2bddf31038c821 /net-misc/getdate
parentFork eblits for stable glibc, and convert unstable to `emake`. (diff)
downloadhistorical-b1f1604997b3a3673766665cccc3c541d2f6a0c4.tar.gz
historical-b1f1604997b3a3673766665cccc3c541d2f6a0c4.tar.bz2
historical-b1f1604997b3a3673766665cccc3c541d2f6a0c4.zip
Respect LDFLAGS wrt bug 331801. Thanks to Diego for report. Clean ebuild, add ~amd64
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'net-misc/getdate')
-rw-r--r--net-misc/getdate/ChangeLog8
-rw-r--r--net-misc/getdate/Manifest4
-rw-r--r--net-misc/getdate/getdate-1.2.ebuild24
3 files changed, 18 insertions, 18 deletions
diff --git a/net-misc/getdate/ChangeLog b/net-misc/getdate/ChangeLog
index 20e7fe78c061..845dd2ddd53e 100644
--- a/net-misc/getdate/ChangeLog
+++ b/net-misc/getdate/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/getdate
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/getdate/ChangeLog,v 1.13 2009/09/23 19:35:47 patrick Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/getdate/ChangeLog,v 1.14 2010/08/10 08:08:33 xarthisius Exp $
+
+ 10 Aug 2010; Kacper Kowalik <xarthisius@gentoo.org> getdate-1.2.ebuild:
+ Respect LDFLAGS wrt bug 331801. Thanks to Diego for report. Clean ebuild,
+ add ~amd64
23 Sep 2009; Patrick Lauer <patrick@gentoo.org> getdate-1.2.ebuild:
Remove virtual/libc
diff --git a/net-misc/getdate/Manifest b/net-misc/getdate/Manifest
index f5e3e2c71ea1..a9a6b238e48e 100644
--- a/net-misc/getdate/Manifest
+++ b/net-misc/getdate/Manifest
@@ -1,4 +1,4 @@
DIST getdate_rfc868-1.2.tar.gz 8323 RMD160 735b2efc16a87c9dd87bf1219137f0166a12a2e7 SHA1 eb10d753888fc7e81446354f06701add053de24d SHA256 45a9a6bdfe0fcde29a03704ffac2fbcd39014f412eb5f4ad3da943827341fd8d
-EBUILD getdate-1.2.ebuild 928 RMD160 e675788711ea0239e9dc24adaeeadb1edc0e82e6 SHA1 f3091e1969e566717cb15484d0e16f5346e7a845 SHA256 357b9f894472875c0fd6fc5e58d24210ed963a6b3e396736d03546d177841841
-MISC ChangeLog 1665 RMD160 003060fbca013f59247d0012ad2cca14dd46bf14 SHA1 ccdd67139bc9eba18332c365e95dc15cca0797a0 SHA256 c6f900820ba612abb44bcf8bcb24bb163ae4636c3e65038b762d17c3a3b1cd33
+EBUILD getdate-1.2.ebuild 963 RMD160 dad69613b11b2094d8165526806af67d8f400b00 SHA1 207404a59adaf50a54280a45971b608baf04074a SHA256 59588270ce67b4c1f1198568b505b32bfa842836b03d88714bc389de81e50cf5
+MISC ChangeLog 1832 RMD160 956f8a8f0f7a27d053cf45addd2627fd79ed3145 SHA1 5d4d43914ba7fc345ab3d8e1b3a0e490df67c89b SHA256 9e782b5e5510f03bc039782df0659b8b10af165a3126cd135ca91ca57452df30
MISC metadata.xml 290 RMD160 b9b86283c09349c8827faef7d3ef5f724a248e77 SHA1 ae1c8e62d75c94ff50b8a5391afb6008460963aa SHA256 380e26e9262298b9cb31e863a9ab641f6fbdc8c50bda2cf2e47fd399f9cb5e85
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
}