Bug 243983 - news/fidogate: Configure error during "make package" as user
Summary: news/fidogate: Configure error during "make package" as user
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-08 16:30 UTC by Sergey Anokhin
Modified: 2020-02-08 19:51 UTC (History)
1 user (show)

See Also:


Attachments
Makefile (4.44 KB, text/plain)
2020-02-08 17:31 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 2020-02-08 16:30:34 UTC
Configure error during "make package" under an user.

http://package19.nyi.freebsd.org/data/120amd64-default-build-as-user/525454/logs/fidogate-5.7.log

Looks like unprivileged user can't check files inside /usr/local/news
because it doesn't have needed permissions. 

Need to consult with the Fidogate developer to have mechanism to turn off inn auto-detection and use option from the port's Makefile
Comment 1 Sergey Anokhin 2020-02-08 17:31:43 UTC
Created attachment 211477 [details]
Makefile

Added lines:

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MINN}
CONFIGURE_ARGS+=        --with-inndir=${PREFIX}/news --with-innetcdir=${PREFIX}/news/etc --with-inndbdir=${PREFIX}/news/db --with-innspooldir=${PREFIX}/news/spool
.endif