Bug 257470 - news/rntrack: Issue with a variable
Summary: news/rntrack: Issue with a variable
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Li-Wen Hsu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-28 08:56 UTC by Sergey Anokhin
Modified: 2021-07-29 01:16 UTC (History)
1 user (show)

See Also:


Attachments
Patch of the Makefile (347 bytes, text/plain)
2021-07-28 08:56 UTC, Sergey Anokhin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)