Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2006 17:52:59 GMT
From:      Scot Hetzel <swhetzel@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/103276: net/samba3: Add a notice when FAM_SUPPORT is being forced.
Message-ID:  <200609141752.k8EHqwCC047180@www.freebsd.org>
Resent-Message-ID: <200609141800.k8EI0cFo057600@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         103276
>Category:       ports
>Synopsis:       net/samba3:  Add a notice when FAM_SUPPORT is being forced.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 14 18:00:38 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Scot Hetzel
>Release:        6.1-STABLE
>Organization:
Ye Old Computer
>Environment:
>Description:
When you have either fam/gamin installed, and then build the net/samba3 but don't select FAM_SUPPORT from the OPTIONS menu, the port builds with FAM_SUPPORT anyways.

The reason for this is that the Samba3 configure script automatically detectes the fam/gamin library and enables support for FAM.  The configure script doesn't have an option to disable this behavior.
>How-To-Repeat:
On a system without fam/gamin installed run:

make -V LIB_DEPENDS

then install either fam/gamin and run:

make -V LIB_DEPENDS

You'll see that FAM has been added to the list of LIB_DEPENDS.
>Fix:
Add a notice in pre-everything advising that FAM_SUPPORT has been forced.

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/samba3/Makefile,v
retrieving revision 1.152
diff -u -r1.152 Makefile
--- Makefile	4 Sep 2006 19:00:17 -0000	1.152
+++ Makefile	14 Sep 2006 17:22:20 -0000
@@ -299,6 +299,10 @@
 		SAMBA_PRIVATE=${SAMBA_PRIVATE}
 
 pre-everything::
+.if defined(WANT_FAM_SYSTEM)
+	@${ECHO_CMD} "===>  NOTICE: ${WANT_FAM_SYSTEM} detected, forcing FAM_SUPPORT"
+	@${ECHO_CMD} ""
+.endif
 	@${ECHO_CMD} "===>  NOTICE: This version of port has changed location of Samba password"
 	@${ECHO_CMD} "===>  NOTICE: (smbpasswd) directory. Files in '${SAMBA_PRIVATE}'"
 	@${ECHO_CMD} "===>  NOTICE: have moved to '${SAMBA_PRIVATEDIR}'."

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609141752.k8EHqwCC047180>