From owner-freebsd-ports@FreeBSD.ORG Wed Sep 13 16:38:22 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C5B216A403 for ; Wed, 13 Sep 2006 16:38:22 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C84A43D49 for ; Wed, 13 Sep 2006 16:38:21 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so2145730uge for ; Wed, 13 Sep 2006 09:38:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DargoCrr781/OAH1HGGFbBNd/kOjkIa5PzJf9if27MZ/nmluY99EgFd8nRreUkPE4EPBHbExPwaRFelcn4HaKOpt2mYCRwV+FmWwxmZwEhgAUYfejQVOHVrGPse5hkAYVbs4B9U4n3O+0lspnBDQdVa50ycTi8UUGLxPVjXTwoc= Received: by 10.66.220.17 with SMTP id s17mr4209782ugg; Wed, 13 Sep 2006 09:38:19 -0700 (PDT) Received: by 10.67.86.8 with HTTP; Wed, 13 Sep 2006 09:38:19 -0700 (PDT) Message-ID: <790a9fff0609130938j24c8188cs6a0e5d1339a76a90@mail.gmail.com> Date: Wed, 13 Sep 2006 11:38:19 -0500 From: "Scot Hetzel" To: "Thomas T. Veldhouse" In-Reply-To: <790a9fff0609130833w5c6f8502jf2cedf0c17a80389@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45081B59.80309@veldy.net> <790a9fff0609130833w5c6f8502jf2cedf0c17a80389@mail.gmail.com> Cc: timur@gnu.org, freebsd-ports@freebsd.org Subject: Re: Samba and FAM X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2006 16:38:22 -0000 On 9/13/06, Scot Hetzel wrote: > The problem is that the net/samba3/Makefile automatically detects > fam/gam on the system, and sets WITH_FAM_SUPPORT, even if FAM_SUPPORT > is off in OPTIONS. > : >Also, if the samba configure script has an option to disable fam >support, it should be added as: > > .if defined(WITH_FAM_SUPPORT) > USE_FAM= yes > .else > CONFIGURE_ARGS+= --disable-fam > .endif > > This would then prevent the configure script from detecting and using > fam/gam on a system that has it installed. > Had a look at the samba configure script, and it doesn't have an option to disable fam/gamin support. So your only option is to uninstall all ports that require fam/gamin. Install samba w/FAM_SUPPORT off, then reinstall the ports that were removed. OPTIONS= LDAP "With LDAP support" on \ : AIO_SUPPORT "With experimental AIO support" off .if exists(${LOCALBASE}/libexec/gam_server) || exists(${LOCALBASE}/bin/fam) OPTIONS+= FAM_SUPPORT "With File Alteration Monitor" off .else FORCE_FAM_SUPPORT= yes .endif OPTIONS+= SYSLOG "With Syslog support" off \ QUOTAS "With Disk quota support" off \ : POPT "With system-wide POPT library" on Then in pre-everything, a test for FORCE_FAM_SUPPORT: .if defined(FORCE_FAM_SUPPORT) pre-everything:: @${ECHO} "Samba will be compiled with File Monitor Support (${WANT_FAM_SYSTEM})" @${ECHO} @${ECHO} "If this is not what you want, then you need to uninstall all ports depending on ${WANT_FAM_SYSTEM}. Install Samba, and then reinstall all the ${WANT_FAM_SYSTEM} depending ports." .endif Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.