summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-05-05 07:42:00 +0000
committerMike Frysinger <vapier@gentoo.org>2007-05-05 07:42:00 +0000
commit2ad43467c26470f445735a6568cbed9a3fe096ba (patch)
tree47d15ab886401d4dded0b9f7fa51b0b9616b3ce5 /net-misc/ntp
parent+net-misc/ntp:mdnsresponder (diff)
downloadgentoo-2-2ad43467c26470f445735a6568cbed9a3fe096ba.tar.gz
gentoo-2-2ad43467c26470f445735a6568cbed9a3fe096ba.tar.bz2
gentoo-2-2ad43467c26470f445735a6568cbed9a3fe096ba.zip
Add support for USE=mdnsresponder #176333 by Carsten Lohrke.
(Portage version: 2.1.2.5)
Diffstat (limited to 'net-misc/ntp')
-rw-r--r--net-misc/ntp/ChangeLog5
-rw-r--r--net-misc/ntp/ntp-4.2.4_p0.ebuild6
2 files changed, 9 insertions, 2 deletions
diff --git a/net-misc/ntp/ChangeLog b/net-misc/ntp/ChangeLog
index 50e268a5d724..143457d4d52e 100644
--- a/net-misc/ntp/ChangeLog
+++ b/net-misc/ntp/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/ntp
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ChangeLog,v 1.101 2007/05/05 07:28:20 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ChangeLog,v 1.102 2007/05/05 07:42:00 vapier Exp $
+
+ 05 May 2007; Mike Frysinger <vapier@gentoo.org> ntp-4.2.4_p0.ebuild:
+ Add support for USE=mdnsresponder #176333 by Carsten Lohrke.
*ntp-4.2.4_p0 (05 May 2007)
diff --git a/net-misc/ntp/ntp-4.2.4_p0.ebuild b/net-misc/ntp/ntp-4.2.4_p0.ebuild
index 10578271685d..803b15c518d9 100644
--- a/net-misc/ntp/ntp-4.2.4_p0.ebuild
+++ b/net-misc/ntp/ntp-4.2.4_p0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.2.4_p0.ebuild,v 1.1 2007/05/05 07:28:20 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.2.4_p0.ebuild,v 1.2 2007/05/05 07:42:00 vapier Exp $
inherit eutils toolchain-funcs
@@ -18,6 +18,7 @@ IUSE="parse-clocks caps selinux ssl ipv6 debug openntpd"
DEPEND=">=sys-libs/ncurses-5.2
>=sys-libs/readline-4.1
kernel_linux? ( caps? ( sys-libs/libcap ) )
+ mdnsresponder? ( net-misc/mDNSResponder )
!openntpd? ( !net-misc/openntpd )
ssl? ( dev-libs/openssl )
selinux? ( sec-policy/selinux-ntp )"
@@ -56,6 +57,9 @@ src_unpack() {
src_compile() {
hax_bitkeeper
+ # blah, no real configure options #176333
+ export ac_cv_header_dns_sd_h=$(use mdnsresponder && echo yes || echo no)
+ export ac_cv_lib_dns_sd_DNSServiceRegister=${ac_cv_header_dns_sd_h}
econf \
$(use_enable caps linuxcaps) \
$(use_enable parse-clocks) \