On 9/13/06, Scot Hetzel <[EMAIL PROTECTED]> 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.
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to