Created attachment 221451 [details] patch to the ports tree As it was discussed in bug #251887 the patch does some improvements in the port's Makefile. This add USES=localbase so we can get rid of *-includes and *-libraries. Reorder some variables too. I did some light testing and change some options and seems to build fine in {11.4,12.2}{amd64,i386} and 13-current amd64.
Hi Fernando, The whitespace change in post-patch-PYTHON-on does not look alright, although it is a line continuation it should better be a TAB at the beginning of the line like it used to to conform to makefile syntax. Otherwise works fine from what I can tell. Thanks, Franco
(In reply to Franco Fichtner from comment #1) I don't know where those spaces came from :-) Sorry for that. I will commit the fixed version. Thanks!
Committed, Thanks!
A commit references this bug: Author: fernape Date: Wed Jan 20 14:02:18 UTC 2021 New revision: 562136 URL: https://svnweb.freebsd.org/changeset/ports/562136 Log: security/suricata: simplify Makefile Add USES=localbase so we can get rid of *-includes and *-libraries. Reorder some variables too. Regenerate patch. PR: 252571 Submitted by: fernape@FreeBSD.org Reviewed by: franco@opnsense.org (maintainer) Changes: head/security/suricata/Makefile head/security/suricata/files/patch-src_suricata-common.h
Nice, thank you. :)