diff options
author | jkh <jkh@FreeBSD.org> | 1997-01-17 10:57:26 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-01-17 10:57:26 +0000 |
commit | dc311d3ebe8d1fd57546c7979f7f22ec79caac4b (patch) | |
tree | aaa52a73ad198588ac3ae16c74af0b001d7c3e89 /usr.sbin/sade/Makefile | |
parent | 2ce875e983c7c5de2fe3d2d8bf682bbec8bbd5ae (diff) | |
download | FreeBSD-src-dc311d3ebe8d1fd57546c7979f7f22ec79caac4b.zip FreeBSD-src-dc311d3ebe8d1fd57546c7979f7f22ec79caac4b.tar.gz |
Pass LOAD_CONFIG_FILE variable through, if set (makes Paul Traina's life
easier). Only run install.cfg if running as init. It's something of
a security hole otherwise. :)
Diffstat (limited to 'usr.sbin/sade/Makefile')
-rw-r--r-- | usr.sbin/sade/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/sade/Makefile b/usr.sbin/sade/Makefile index d4b3e13..1b2762e 100644 --- a/usr.sbin/sade/Makefile +++ b/usr.sbin/sade/Makefile @@ -18,7 +18,9 @@ SRCS= anonFTP.c apache.c attr.c cdrom.c command.c config.c devices.c \ CFLAGS+= -Wall -I${.CURDIR}/../../gnu/lib/libdialog -I${.OBJDIR} -I/sys CFLAGS+= -DUC_PRIVATE -DKERN_NO_SYMBOLS -DSAVE_USERCONFIG -#CFLAGS+= -DLOAD_CONFIG_FILE=\"install.cfg\" +.if defined(LOAD_CONFIG_FILE) +CFLAGS+= -DLOAD_CONFIG_FILE=\"${LOAD_CONFIG_FILE}\" +.endif DPADD= ${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO} ${LIBUTIL} ${LIBDISK} ${LIBFTPIO} LDADD= -ldialog -lncurses -lmytinfo -lutil -ldisk -lftpio |