Bug 252571

Summary: security/suricata: simplify Makefile
Product: Ports & Packages Reporter: Fernando Apesteguía <fernape>
Component: Individual Port(s)Assignee: Fernando Apesteguía <fernape>
Status: Closed FIXED    
Severity: Affects Only Me CC: franco
Priority: --- Flags: franco: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch to the ports tree none

Description Fernando Apesteguía freebsd_committer freebsd_triage 2021-01-11 10:01:04 UTC
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.
Comment 1 Franco Fichtner 2021-01-20 12:29:15 UTC
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
Comment 2 Fernando Apesteguía freebsd_committer freebsd_triage 2021-01-20 12:37:41 UTC
(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!
Comment 3 Fernando Apesteguía freebsd_committer freebsd_triage 2021-01-20 14:02:33 UTC
Committed,

Thanks!
Comment 4 commit-hook freebsd_committer freebsd_triage 2021-01-20 14:02:48 UTC
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
Comment 5 Franco Fichtner 2021-01-20 14:08:16 UTC
Nice, thank you.  :)