ports/103276: net/samba3: Add a notice when FAM_SUPPORT is being forced.
Scot Hetzel
swhetzel at gmail.com
Thu Sep 14 18:00:45 UTC 2006
>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:
More information about the freebsd-ports-bugs
mailing list