mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
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
2731c8aafa
commit
d7e394992c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=88286
|
@ -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 \
|
kiconv.c \
|
||||||
nb.c nb_name.c nb_net.c nbns_rq.c
|
nb.c nb_name.c nb_net.c nbns_rq.c
|
||||||
CONTRIBDIR= ${.CURDIR}/../../contrib/smbfs
|
CONTRIBDIR= ${.CURDIR}/../../contrib/smbfs
|
||||||
CFLAGS+= -I${CONTRIBDIR}/include
|
CFLAGS+= -DSMB_CFG_FILE=\"/etc/nsmb.conf\" -I${CONTRIBDIR}/include
|
||||||
|
|
||||||
.PATH: ${CONTRIBDIR}/lib/smb
|
.PATH: ${CONTRIBDIR}/lib/smb
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue