summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2005-06-23 12:37:08 +0000
committerSven Wegener <swegener@gentoo.org>2005-06-23 12:37:08 +0000
commit33d8319f5cf2ac9a7ca7d4fa8176fcba0a00ab15 (patch)
treeda0bbe584731636cdadd1783c0472675fc7315f4 /net-misc/htpdate
parentRemoved stray digest. (diff)
downloadgentoo-2-33d8319f5cf2ac9a7ca7d4fa8176fcba0a00ab15.tar.gz
gentoo-2-33d8319f5cf2ac9a7ca7d4fa8176fcba0a00ab15.tar.bz2
gentoo-2-33d8319f5cf2ac9a7ca7d4fa8176fcba0a00ab15.zip
Added cross-compile support. Trim whitespace. Pass CFLAGS in a better way.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'net-misc/htpdate')
-rw-r--r--net-misc/htpdate/ChangeLog5
-rw-r--r--net-misc/htpdate/htpdate-0.8.2.ebuild18
2 files changed, 8 insertions, 15 deletions
diff --git a/net-misc/htpdate/ChangeLog b/net-misc/htpdate/ChangeLog
index 557131fb6556..dc083088321f 100644
--- a/net-misc/htpdate/ChangeLog
+++ b/net-misc/htpdate/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/htpdate
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/htpdate/ChangeLog,v 1.2 2005/06/23 11:26:46 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/htpdate/ChangeLog,v 1.3 2005/06/23 12:37:08 swegener Exp $
+
+ 23 Jun 2005; Sven Wegener <swegener@gentoo.org> htpdate-0.8.2.ebuild:
+ Added cross-compile support. Trim whitespace. Pass CFLAGS in a better way.
22 Jun 2005; Tobias Scherbaum <dertobi123@gentoo.org>
htpdate-0.8.2.ebuild:
diff --git a/net-misc/htpdate/htpdate-0.8.2.ebuild b/net-misc/htpdate/htpdate-0.8.2.ebuild
index 8c2f292b3a72..b1e5df29b502 100644
--- a/net-misc/htpdate/htpdate-0.8.2.ebuild
+++ b/net-misc/htpdate/htpdate-0.8.2.ebuild
@@ -1,12 +1,13 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/htpdate/htpdate-0.8.2.ebuild,v 1.2 2005/06/23 11:26:46 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/htpdate/htpdate-0.8.2.ebuild,v 1.3 2005/06/23 12:37:08 swegener Exp $
+
+inherit toolchain-funcs
DESCRIPTION="Synchronize local workstation with time offered by remote web
servers"
HOMEPAGE="http://www.clevervest.com/htp/"
SRC_URI="http://www.clevervest.com/htp/archive/c/${P}.tar.gz"
-RESTRICT="nomirror"
LICENSE="GPL-2"
SLOT="0"
@@ -16,23 +17,12 @@ IUSE=""
DEPEND=""
RDEPEND=""
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- sed -i \
- -e 's:CFLAGS =:#CFLAGS =:' \
- Makefile || die "sed failed"
-}
-
src_compile() {
- emake || die
+ emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die
}
src_install () {
- into /usr
dosbin htpdate || die
doman htpdate.8.gz || die
dodoc README CHANGES || die
}
-