summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2011-12-06 12:45:32 +0000
committerNaohiro Aota <naota@gentoo.org>2011-12-06 12:45:32 +0000
commit1e3d11ef161c4594ec011a0e023e21758d7b20cd (patch)
tree4fbae391ed10c5cd474c0e46b22d3f30a628504d /net-dns
parentRemoving obsolete ebuild (diff)
downloadgentoo-2-1e3d11ef161c4594ec011a0e023e21758d7b20cd.tar.gz
gentoo-2-1e3d11ef161c4594ec011a0e023e21758d7b20cd.tar.bz2
gentoo-2-1e3d11ef161c4594ec011a0e023e21758d7b20cd.zip
Add ~x86-fbsd; Add alternativa depend sys-process/fuser-bsd for sys-process/psmisc; Make it include db.h from proper path
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/bind/ChangeLog6
-rw-r--r--net-dns/bind/bind-9.8.1_p1.ebuild11
2 files changed, 12 insertions, 5 deletions
diff --git a/net-dns/bind/ChangeLog b/net-dns/bind/ChangeLog
index 8666c48bf5fc..9ca5db0d72ab 100644
--- a/net-dns/bind/ChangeLog
+++ b/net-dns/bind/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-dns/bind
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/ChangeLog,v 1.363 2011/11/29 16:27:10 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/ChangeLog,v 1.364 2011/12/06 12:45:32 naota Exp $
+
+ 06 Dec 2011; Naohiro Aota <naota@gentoo.org> bind-9.8.1_p1.ebuild:
+ Add ~x86-fbsd; Add alternativa depend sys-process/fuser-bsd for
+ sys-process/psmisc; Make it include db.h from proper path
29 Nov 2011; Tony Vroon <chainsaw@gentoo.org> bind-9.7.3_p3.ebuild,
bind-9.7.4.ebuild, bind-9.7.4_p1.ebuild:
diff --git a/net-dns/bind/bind-9.8.1_p1.ebuild b/net-dns/bind/bind-9.8.1_p1.ebuild
index e3bdc3fdb058..bdf0c6d3eded 100644
--- a/net-dns/bind/bind-9.8.1_p1.ebuild
+++ b/net-dns/bind/bind-9.8.1_p1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/bind-9.8.1_p1.ebuild,v 1.2 2011/11/17 18:12:20 idl0r Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/bind-9.8.1_p1.ebuild,v 1.3 2011/12/06 12:45:32 naota Exp $
# Re dlz/mysql and threads, needs to be verified..
# MySQL uses thread local storage in its C api. Thus MySQL
@@ -13,7 +13,7 @@
EAPI="4"
-inherit eutils autotools toolchain-funcs flag-o-matic multilib
+inherit eutils autotools toolchain-funcs flag-o-matic multilib db-use
MY_PV="${PV/_p/-P}"
MY_PV="${MY_PV/_rc/rc}"
@@ -40,7 +40,7 @@ SRC_URI="ftp://ftp.isc.org/isc/bind9/${MY_PV}/${MY_P}.tar.gz
LICENSE="as-is"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="berkdb caps dlz doc geoip gost gssapi idn ipv6 ldap mysql odbc pkcs11 postgres rpz sdb-ldap
selinux ssl threads urandom xml"
@@ -67,7 +67,7 @@ DEPEND="ssl? ( >=dev-libs/openssl-0.9.6g )
RDEPEND="${DEPEND}
selinux? ( sec-policy/selinux-bind )
- sys-process/psmisc"
+ || ( sys-process/psmisc sys-process/fuser-bsd )"
S="${WORKDIR}/${MY_P}"
@@ -140,6 +140,9 @@ src_configure() {
# bug #158664
# gcc-specs-ssp && replace-flags -O[23s] -O
+ # To include db.h from proper path
+ use berkdb && append-flags "-I$(db_includedir)"
+
export BUILD_CC=$(tc-getBUILD_CC)
econf \
--sysconfdir=/etc/bind \