Re: How to fix/patch hardcoded values

2020-12-29 Thread Mathieu Arnold
On Sun, Dec 27, 2020 at 09:58:13PM +, Nuno Teixeira wrote: > Hello I've just submited a new port net/gitup > and I used a > simple workaround to help program find its config in /usr/local/etc instead > of (hardcoded) ./ > > --- gitup.c

Re: How to fix/patch hardcoded values

2020-12-29 Thread Chris
On 2020-12-29 00:07, Mathieu Arnold wrote: On Sun, Dec 27, 2020 at 09:58:13PM +, Nuno Teixeira wrote: Hello I've just submited a new port net/gitup and I used a simple workaround to help program find its config in /usr/local/etc inst

Re: devel/rust-cbindgen fails to build

2020-12-29 Thread Torfinn Ingolfsen
Update On Tue, Dec 22, 2020 at 6:47 PM Torfinn Ingolfsen wrote: > > building rust-cbindgen-0.16.0 also fails on this machine, in the same > way. But - I installed rust-cbindgen from ports on another FreeBSD > 11.4-release machine, starting from "clean" (nothing installed except > for pkg, which

Re: graphics/librsvg2-rust fails to build

2020-12-29 Thread Torfinn Ingolfsen
On Sun, Dec 20, 2020 at 11:19 PM Torfinn Ingolfsen wrote: > > DEFAULT_VERSIONS+=ssl=openssl > > no src.conf. > Reinstalling devel/libgit2 has helped, now I can build and install librsvg2-rust. libgit2 hasn't changed, it is still the same version: root@kg-core1# pkg info libgit2* libgit2-1.0.1 So

Re: How to fix/patch hardcoded values

2020-12-29 Thread Nuno Teixeira
Hello, I'm using: ${REINPLACE_CMD} 's,\./gitup.conf,${PREFIX}/etc/gitup.conf,' ${WRKSRC}/gitup.c I didn't know about that sintax with "%": ${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX}' ${WRKSRC}/githup.c Does it make any difference between the two expressions? Thanks Mathieu Arnold escreveu no

Re: How to fix/patch hardcoded values

2020-12-29 Thread Nuno Teixeira
Hello!, man(1) gitup only references: Files: ${PREFIX}/etc/gitup.conf Default location of the gitup configuration file. But yes, thats makes sense a per-user .config file, maybe in ~ or in ~/.config folder. Thanks! Chris escreveu no dia terça, 29/12/2020 à(s) 08:23: > On 2020-12-29 00:07, Ma

Re: DMA -- difference between base and port?

2020-12-29 Thread Ronald Klop
Some questions below. On Tue, 22 Dec 2020 01:56:04 +0100, Dan Mahoney (Gushi) wrote: On Mon, 21 Dec 2020, Ronald Klop wrote: On Mon, 21 Dec 2020 12:12:02 +0100, Dan Mahoney (Gushi) wrote: Hey there, At the day job we've been using mail/dma port for a number of years now, and the r

Re: net/libarcus fails to install

2020-12-29 Thread Shane Ambler
On 28/12/20 4:40 am, Torfinn Ingolfsen wrote: > On Sun, Dec 27, 2020 at 2:41 PM Torfinn Ingolfsen wrote: >> >> net/libarcus builds, but fails to install: > FWIW, devel/libsavitar has the same "problem"; with python38 installed > it fails to install because it builds for 3.8 instead of 3.7. The i