Created attachment 234836 [details] Patch for net/sakisafecli Updated the MAINTAINER variable in the Makefile. Also repleaced -I/usr/local/include with -I${PREFIX}/include. Along other modifications to make it portlint compliant.
Maintainer informed via mail
Are you sure the CFLAGS change is right? If ${PREFIX} becomes /opt/mydir/, do you want to include the headers that you find in /opt/mydir/include instead of those of the base system? Don't you want USES=localbase instead?
Created attachment 234854 [details] Makefile patch that uses LOCALBASE
(In reply to Fernando Apesteguía from comment #2) I created a new attachment that uses localbase.
(In reply to qorg11 from comment #4) Sorry I did not explain better. I meant using USES=localbase instead of CFLAGS+= -I${LOCALBASE}/include
Created attachment 234868 [details] Patch for net/sakisafecli
New attachment. Is this what you meant?
(In reply to qorg11 from comment #7) Yes, that's it. Also we would need to bump PORTREVISION. I'll do it at commit time, no need to update a new patch. Thanks!
Committed, Thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=801c2b13a723a443b043faaaec60bafe295cbcdb commit 801c2b13a723a443b043faaaec60bafe295cbcdb Author: qorg11 <teru-sama@riseup.net> AuthorDate: 2022-06-22 16:22:20 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2022-06-23 05:25:48 +0000 net/sakisafecli: various Makefile updates * Update maintainer email address * Use localbase * Add dependency * Pet linters PR: 264806 Reported by: teru-sama@riseup.net (maintainer) net/sakisafecli/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)