Bug 271090 - graphics/pstoedit: needs USES = gmake to compile
Summary: graphics/pstoedit: needs USES = gmake to compile
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: Rainer Hurling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-27 06:17 UTC by Martin Birgmeier
Modified: 2023-04-27 16:09 UTC (History)
1 user (show)

See Also:


Attachments
patch to add USES=gmake (472 bytes, patch)
2023-04-27 08:50 UTC, Rainer Hurling
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Birgmeier 2023-04-27 06:17:24 UTC
Scenario:
- FreeBSD 12.4 latest
- ports latest
- upgrading ports using portmaster

Result:
- Upgrading graphics/pstoedit to 3.78 fails with a bad "sed" command

Expected result:
- Upgrading should work.

Fix:
- Add "gmake" to the USES line in Makefile.

-- Martin
Comment 1 Rainer Hurling freebsd_committer freebsd_triage 2023-04-27 08:50:15 UTC
Created attachment 241784 [details]
patch to add USES=gmake

Thanks for the PR. I added a patch and am in the testing phase now ;)
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-04-27 16:08:27 UTC
A commit in branch main references this bug:

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

commit d91a412f81eb341d36ded8551b2420af0bddb00e
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2023-04-27 15:48:21 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2023-04-27 16:07:21 +0000

    graphics/pstoedit: Fix sed usage via gmake

    Making all in doc
    latex2man -t ./pstoedit.trans -M  pstoedit.1
    latex2man: Expected two arguments: infile outfile. Try `latex2man -h'.
    *** Error code 255

    While here, pet portclippy

    PR:             271090

 graphics/pstoedit/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 3 Rainer Hurling freebsd_committer freebsd_triage 2023-04-27 16:09:22 UTC
Committed, thanks!