Hello,

Recently upstream changed is example.c to have:

#ifndef CONFIG_FILE_PATH
#define CONFIG_FILE_PATH "./example.conf"
#endif

I found a way to change it in example port Makefile:

CFLAGS+= -DCONFIG_FILE_PATH=\\\"${LOCALBASE}/etc/example.conf\\\"

It works fine.

Am I doing the correct way and correct syntax? Those "\\\" ... "\\\" make
me some confusion.

Thanks,

Nuno Teixeira
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to