diff options
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 |