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
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')
-rw-r--r--net-dns/odsclient/ChangeLog11
-rw-r--r--net-dns/odsclient/files/1.03-gentoo.patch4
-rw-r--r--net-dns/odsclient/odsclient-1.03-r1.ebuild35
3 files changed, 46 insertions, 4 deletions
diff --git a/net-dns/odsclient/ChangeLog b/net-dns/odsclient/ChangeLog
index ca9b3bdf031e..b54d3f07579b 100644
--- a/net-dns/odsclient/ChangeLog
+++ b/net-dns/odsclient/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-dns/odsclient
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/odsclient/ChangeLog,v 1.9 2008/02/29 21:53:50 armin76 Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/odsclient/ChangeLog,v 1.10 2010/09/18 01:55:18 jer Exp $
+
+*odsclient-1.03-r1 (18 Sep 2010)
+
+ 18 Sep 2010; Jeroen Roovers <jer@gentoo.org> files/1.03-gentoo.patch,
+ +odsclient-1.03-r1.ebuild:
+ Do not hardwire CC and CFLAGS. Clean up patch. Respect LDFLAGS (bug
+ #335414).
29 Feb 2008; Raúl Porcel <armin76@gentoo.org> -odsclient-1.02.ebuild,
odsclient-1.03.ebuild:
diff --git a/net-dns/odsclient/files/1.03-gentoo.patch b/net-dns/odsclient/files/1.03-gentoo.patch
index 2d2c9ea291b2..76f93016a010 100644
--- a/net-dns/odsclient/files/1.03-gentoo.patch
+++ b/net-dns/odsclient/files/1.03-gentoo.patch
@@ -1,5 +1,5 @@
---- client.c.orig 2008-01-21 19:59:57.000000000 +0100
-+++ client.c 2008-01-21 20:06:39.000000000 +0100
+--- a/client.c
++++ b/client.c
@@ -40,7 +40,8 @@
ret = getret(s);
if(ret == 795 || ret == 796)
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
+}