summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-09-18 01:55:18 +0000
committerJeroen Roovers <jer@gentoo.org>2010-09-18 01:55:18 +0000
commit9ca19b8f14c953b14678a2717a314f1784b2e851 (patch)
tree460518613fa9afc5d78dbd9bbe6126d128414f21 /net-dns/odsclient/odsclient-1.03-r1.ebuild
parentVersion bump. Fix patch to respect LDFLAGS (bug #335416). (diff)
downloadgentoo-2-9ca19b8f14c953b14678a2717a314f1784b2e851.tar.gz
gentoo-2-9ca19b8f14c953b14678a2717a314f1784b2e851.tar.bz2
gentoo-2-9ca19b8f14c953b14678a2717a314f1784b2e851.zip
Do not hardwire CC and CFLAGS. Clean up patch. Respect LDFLAGS (bug #335414).
(Portage version: 2.2_rc83/cvs/Linux i686)
Diffstat (limited to 'net-dns/odsclient/odsclient-1.03-r1.ebuild')
-rw-r--r--net-dns/odsclient/odsclient-1.03-r1.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/net-dns/odsclient/odsclient-1.03-r1.ebuild b/net-dns/odsclient/odsclient-1.03-r1.ebuild
new file mode 100644
index 000000000000..b122b23cf635
--- /dev/null
+++ b/net-dns/odsclient/odsclient-1.03-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/odsclient/odsclient-1.03-r1.ebuild,v 1.1 2010/09/18 01:55:18 jer Exp $
+
+EAPI="2"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Client for the Open Domain Server's dynamic dns"
+HOMEPAGE="http://www.ods.org/"
+SRC_URI="http://www.ods.org/dl/${P}.tar.gz"
+LICENSE="LGPL-2.1"
+
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+src_prepare() {
+ sed -i Makefile -e 's| -o | $(LDFLAGS)&|g' || die "sed failed"
+
+ epatch "${FILESDIR}"/${PV}-gentoo.patch
+}
+
+src_compile() {
+ emake \
+ CC=$(tc-getCC) \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ || die
+}
+
+src_install() {
+ dosbin odsclient
+ dodoc README
+}