Bug 257470

Summary: news/rntrack: Issue with a variable
Product: Ports & Packages Reporter: Sergey Anokhin <admin>
Component: Individual Port(s)Assignee: Li-Wen Hsu <lwhsu>
Status: Closed FIXED    
Severity: Affects Many People CC: lwhsu
Priority: ---    
Version: Latest   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
Patch of the Makefile none

Description Sergey Anokhin 2021-07-28 08:56:59 UTC
Created attachment 226753 [details]
Patch of the Makefile

Hi,

I've noticed a sad issue in the Makefile.
ETCDIR variable should be defined as:
ETCDIR=         ${PREFIX}/etc/fido/rntrack
The main idea to store all fidonet software configs separately, e.g.:

/usr/local/etc/fido/<software1>/
/usr/local/etc/fido/<software2>/
/usr/local/etc/fido/<software3>/
etc

The patch is attached.

PS May be it will better to use ${PORTNAME} variable?
ETCDIR=         ${PREFIX}/etc/fido/${PORTNAME}

Thanks
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-07-28 09:25:11 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6ff413b090cc1eb3e193174cc10d479c3d3f6b03

commit 6ff413b090cc1eb3e193174cc10d479c3d3f6b03
Author:     Sergey Anokhin <admin@5034.ru>
AuthorDate: 2021-07-28 09:23:34 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2021-07-28 09:23:34 +0000

    news/rntrack: Put config files in dedicated directory

    PR:             257470

 news/rntrack/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)