On 30/12/20 05:31, Nuno Teixeira wrote:
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+= 
-https://github.com/johnmehr/gitup/pull/17=\\\"${LOCALBASE}/etc/example.conf\\\";

It works fine.

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

I've opened a PR [1] to improve gitup's Makefile and after it's accepted you will be able to use:

MAKE_ENV+= CONFIG_FILE_PATH=${LOCALBASE}/etc/gitup.conf

[1] https://github.com/johnmehr/gitup/pull/17

--
Renato Botelho
_______________________________________________
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