From d7e394992c677447eedd584f08efcc6143a2cccc Mon Sep 17 00:00:00 2001 From: Sheldon Hearn Date: Thu, 20 Dec 2001 16:21:47 +0000 Subject: [PATCH] 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. --- lib/libsmb/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libsmb/Makefile b/lib/libsmb/Makefile index f13595c6d27c..5d4b3e27a552 100644 --- a/lib/libsmb/Makefile +++ b/lib/libsmb/Makefile @@ -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