Supply SMB_CFG_FILE in CFLAGS. The newly imported smbfs-1.4.2
allows us to supply our own value for this, overriding the default /usr/local/etc/nsmb.conf, which is not appropriate for base system configuration files.
This commit is contained in:
parent
67e8242386
commit
b461b49c3c
@ -12,7 +12,7 @@ SRCS= rcfile.c ctx.c cfopt.c subr.c nls.c rap.c mbuf.c rq.c file.c \
|
||||
kiconv.c \
|
||||
nb.c nb_name.c nb_net.c nbns_rq.c
|
||||
CONTRIBDIR= ${.CURDIR}/../../contrib/smbfs
|
||||
CFLAGS+= -I${CONTRIBDIR}/include
|
||||
CFLAGS+= -DSMB_CFG_FILE=\"/etc/nsmb.conf\" -I${CONTRIBDIR}/include
|
||||
|
||||
.PATH: ${CONTRIBDIR}/lib/smb
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user