From owner-svn-ports-all@FreeBSD.ORG Thu Jan 16 00:27:29 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C2E5B433; Thu, 16 Jan 2014 00:27:29 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AE33D16FA; Thu, 16 Jan 2014 00:27:29 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0G0RTrx005798; Thu, 16 Jan 2014 00:27:29 GMT (envelope-from theraven@svn.freebsd.org) Received: (from theraven@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0G0RTnU005797; Thu, 16 Jan 2014 00:27:29 GMT (envelope-from theraven@svn.freebsd.org) Message-Id: <201401160027.s0G0RTnU005797@svn.freebsd.org> From: David Chisnall Date: Thu, 16 Jan 2014 00:27:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339879 - head/lang/gnustep-base X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jan 2014 00:27:29 -0000 Author: theraven Date: Thu Jan 16 00:27:29 2014 New Revision: 339879 URL: http://svnweb.freebsd.org/changeset/ports/339879 QAT: https://qat.redports.org/buildarchive/r339879/ Log: Make mDNSResponder and Avahi options, with Avahi as the default. Submitted by: Marcus Muller Approved by: bapt (mentor) Modified: head/lang/gnustep-base/Makefile Modified: head/lang/gnustep-base/Makefile ============================================================================== --- head/lang/gnustep-base/Makefile Thu Jan 16 00:01:37 2014 (r339878) +++ head/lang/gnustep-base/Makefile Thu Jan 16 00:27:29 2014 (r339879) @@ -14,11 +14,20 @@ COMMENT= GNUstep Foundation library LICENSE= GPLv3 LGPL3 LICENSE_COMB= multi +OPTIONS_RADIO= ZEROCONF +OPTIONS_RADIO_ZEROCONF= AVAHI MDNS +OPTIONS_DEFAULT= AVAHI + +NOZEROCONF_DESC= Disable Zeroconf (Bonjour) support +AVAHI_DESC?= Zeroconf via Avahi (preferred) +MDNS_DESC?= Zeroconf via Apple's mDNSResponder + +.include + LIB_DEPENDS+= ffi:${PORTSDIR}/devel/libffi LIB_DEPENDS+= xml2.5:${PORTSDIR}/textproc/libxml2 LIB_DEPENDS+= xslt.2:${PORTSDIR}/textproc/libxslt LIB_DEPENDS+= gmp.10:${PORTSDIR}/math/gmp -LIB_DEPENDS+= dns_sd:${PORTSDIR}/net/mDNSResponder LIB_DEPENDS+= gnutls-openssl.27:${PORTSDIR}/security/gnutls LIB_DEPENDS+= icuuc:${PORTSDIR}/devel/icu LIB_DEPENDS+= objc.4:${PORTSDIR}/lang/libobjc2 @@ -48,6 +57,17 @@ ETCDIR= ${LOCALBASE}/etc PLIST_SUB+= BASEVERSION=${PORTVERSION:C/[.][0-9]*$//1} NO_STAGE= yes + +.if ${PORT_OPTIONS:MAVAHI} +CONFIGURE_ARGS+= --with-zeroconf-api=avahi +LIB_DEPENDS+= avahi-client:${PORTSDIR}/net/avahi-app +.elif ${PORT_OPTIONS:MMDNS} +CONFIGURE_ARGS+= --with-zeroconf-api=mdns +LIB_DEPENDS+= dns_sd:${PORTSDIR}/net/mDNSResponder +.else +CONFIGURE_ARGS+= --disable-zeroconf +.endif + .include PATH:= ${PREFIX}/System/Tools:${PATH}