Bug 271173 - textproc/docbook2mdoc not PREFIX-safe
Summary: textproc/docbook2mdoc not PREFIX-safe
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Baptiste Daroussin
URL:
Keywords: easy, patch
Depends on:
Blocks:
 
Reported: 2023-05-01 16:17 UTC by Mikhail T.
Modified: 2023-05-15 07:25 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (bapt)


Attachments
Fix PREFIX and portlint warnings (420 bytes, patch)
2023-05-01 16:17 UTC, Mikhail T.
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail T. 2023-05-01 16:17:19 UTC
Created attachment 241909 [details]
Fix PREFIX and portlint warnings

Although my LOCALBASE and PREFIX are both set to /opt, the port stages its artifacts under ${WRKSRC}/usr/local -- which causes the subsequent install to fail.

The attached patch fixes this problem, and also moves USES-line higher up to please portlint.
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-05-15 07:25:14 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=766cb164ce75eaba9487f8595b677d82cc3e1dff

commit 766cb164ce75eaba9487f8595b677d82cc3e1dff
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2023-05-15 07:23:31 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2023-05-15 07:24:25 +0000

    textproc/docbook2mdoc: fix PREFIX support

    PR:     271173

 textproc/docbook2mdoc/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)