Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Dec 2020 13:39:11 +0000
From:      Nuno Teixeira <ed.arrakis@gmail.com>
To:        Renato Botelho <garga@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Correct syntax for CFLAGS to change a -DCONFIG_FILE_PATH=...
Message-ID:  <CAFDf7U%2BTZ33VXGazXFCSW7poUNrjA-TfhVKyEDPSbizZH_zJWw@mail.gmail.com>
In-Reply-To: <e58130d2-0f14-11c2-20cb-4eb29693e2c1@FreeBSD.org>
References:  <CAFDf7ULLZB-NXBmxcb7G=gj_%2B9OszAUn4yyEdVEj67zKYf%2BFsA@mail.gmail.com> <e58130d2-0f14-11c2-20cb-4eb29693e2c1@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
 Thanks!

Nuno

Renato Botelho <garga@freebsd.org> escreveu no dia quarta, 30/12/2020 =C3=
=A0(s)
12:14:

> 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+=3D -https://github.com/johnmehr/gitup/pull/17=3D\\\
> "${LOCALBASE}/etc/example.conf\\\"
> >
> > It works fine.
> >
> > Am I doing the correct way and correct syntax? Those "\\\" ... "\\\" ma=
ke
> > 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+=3D CONFIG_FILE_PATH=3D${LOCALBASE}/etc/gitup.conf
>
> [1] https://github.com/johnmehr/gitup/pull/17
>
> --
> Renato Botelho
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7U%2BTZ33VXGazXFCSW7poUNrjA-TfhVKyEDPSbizZH_zJWw>