summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-11-07 02:41:08 +0000
committerJeroen Roovers <jer@gentoo.org>2012-11-07 02:41:08 +0000
commit21d222ea25acefac9516bf2fd9809cc3e07741e3 (patch)
treecee0916c97bd88154fdfa0f94f57d641a5e39de6 /net-dns
parentMarked ~hppa (bug #441688). (diff)
downloadgentoo-2-21d222ea25acefac9516bf2fd9809cc3e07741e3.tar.gz
gentoo-2-21d222ea25acefac9516bf2fd9809cc3e07741e3.tar.bz2
gentoo-2-21d222ea25acefac9516bf2fd9809cc3e07741e3.zip
Respect CFLAGS (bug #439708).
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/unbound/ChangeLog8
-rw-r--r--net-dns/unbound/files/unbound-1.4.17-gentoo.patch11
-rw-r--r--net-dns/unbound/unbound-1.4.17-r1.ebuild (renamed from net-dns/unbound/unbound-1.4.17.ebuild)9
3 files changed, 24 insertions, 4 deletions
diff --git a/net-dns/unbound/ChangeLog b/net-dns/unbound/ChangeLog
index 57c7acfbcdbc..52e79731a909 100644
--- a/net-dns/unbound/ChangeLog
+++ b/net-dns/unbound/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-dns/unbound
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v 1.43 2012/11/07 02:28:25 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v 1.44 2012/11/07 02:41:08 jer Exp $
+
+*unbound-1.4.17-r1 (07 Nov 2012)
+
+ 07 Nov 2012; Jeroen Roovers <jer@gentoo.org> -unbound-1.4.17.ebuild,
+ +unbound-1.4.17-r1.ebuild, +files/unbound-1.4.17-gentoo.patch:
+ Respect CFLAGS (bug #439708).
07 Nov 2012; Jeroen Roovers <jer@gentoo.org> unbound-1.4.17.ebuild:
Marked ~hppa (bug #441688).
diff --git a/net-dns/unbound/files/unbound-1.4.17-gentoo.patch b/net-dns/unbound/files/unbound-1.4.17-gentoo.patch
new file mode 100644
index 000000000000..555beef28737
--- /dev/null
+++ b/net-dns/unbound/files/unbound-1.4.17-gentoo.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -208,8 +208,6 @@
+ # Checks for typedefs, structures, and compiler characteristics.
+ AC_C_CONST
+ AC_LANG_C
+-ACX_CHECK_COMPILER_FLAG(g, [CFLAGS="$CFLAGS -g"])
+-ACX_CHECK_COMPILER_FLAG(O2, [CFLAGS="$CFLAGS -O2"])
+ AC_PROG_CC
+ ACX_DEPFLAG
+ ACX_DETERMINE_EXT_FLAGS_UNBOUND
diff --git a/net-dns/unbound/unbound-1.4.17.ebuild b/net-dns/unbound/unbound-1.4.17-r1.ebuild
index c70ecfbeaa8c..bae0f5fe7287 100644
--- a/net-dns/unbound/unbound-1.4.17.ebuild
+++ b/net-dns/unbound/unbound-1.4.17-r1.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/unbound-1.4.17.ebuild,v 1.2 2012/11/07 02:28:25 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/unbound-1.4.17-r1.ebuild,v 1.1 2012/11/07 02:41:08 jer Exp $
EAPI="4"
PYTHON_DEPEND="python? 2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-* *-jython"
-inherit eutils flag-o-matic python user
+inherit autotools eutils flag-o-matic python user
DESCRIPTION="A validating, recursive and caching DNS resolver"
HOMEPAGE="http://unbound.net/"
@@ -48,7 +48,10 @@ src_prepare() {
# 'auto-trust-anchor-file'.
# [23109:0] error: Could not open autotrust file for writing,
# /etc/dnssec/root-anchors.txt: Permission denied
- epatch "${FILESDIR}/${PN}-1.4.12-gentoo.patch"
+ epatch \
+ "${FILESDIR}"/${PN}-1.4.12-gentoo.patch \
+ "${FILESDIR}"/${PN}-1.4.17-gentoo.patch
+ eautoreconf
}
src_configure() {