[Bug 270370] net/babeld: update to 1.12.2

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 27 Mar 2023 07:39:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270370

--- Comment #4 from Nuno Teixeira <eduardo@FreeBSD.org> ---
(In reply to Hung-Yi Chen from comment #3)

From ${WRKSRC}/Makefile:

---
CDEBUGFLAGS = -Os -g -Wall
CFLAGS = $(CDEBUGFLAGS) $(DEFINES) $(EXTRA_DEFINES)
---

Compiling still not respect CFLAGS:
---
cc  -Os -g -Wall   -c net.c -o net.o
---

Sugestion is to use:
---
MAKE_ARGS=      CFLAGS+="${CFLAGS}"
---
result:
---
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -c net.c -o net.o
---
and if really needed debug compiling there is the possibility of adding a DEBUG
option.

While we are here:

- Switch PORTVERSION -> DISTVERSION

Could you please test it?

-- 
You are receiving this mail because:
You are the assignee for the bug.