Bug 258316 - biology/emboss: Add support script to set path
Summary: biology/emboss: Add support script to set path
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: Wen Heping
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-06 12:49 UTC by Jason W. Bacon
Modified: 2021-09-06 15:17 UTC (History)
0 users

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


Attachments
Shell script (693 bytes, application/x-shellscript)
2021-09-06 12:49 UTC, Jason W. Bacon
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason W. Bacon freebsd_committer freebsd_triage 2021-09-06 12:49:13 UTC
Created attachment 227709 [details]
Shell script

Would you consider adding the attached script to the installation for the users' convenience?
Comment 1 Wen Heping freebsd_committer freebsd_triage 2021-09-06 12:51:12 UTC
Approved.  Would you commit it ?
Thanks !

wen
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-09-06 14:25:03 UTC
A commit in branch main references this bug:

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

commit fa2e0b8c66d459b05b1a6624cd482950f9ea3376
Author:     Jason W. Bacon <jwb@FreeBSD.org>
AuthorDate: 2021-09-06 14:21:44 +0000
Commit:     Jason W. Bacon <jwb@FreeBSD.org>
CommitDate: 2021-09-06 14:21:44 +0000

    biology/emboss: Add emboss-shell: Run subshell with proper PATH

    Also silence portlint and stage-qa warnings

    PR:             258316
    Approved by:    wen

 biology/emboss/Makefile                            | 10 +++++----
 biology/emboss/distinfo                            |  1 +
 biology/emboss/files/emboss-shell.in (new +x)      | 26 ++++++++++++++++++++++
 biology/emboss/files/patch-Makefile.in             | 16 ++++++-------
 biology/emboss/files/patch-emboss-Makefile.in      |  6 ++---
 ...mplate => patch-emboss_emboss.default.template} |  4 ++--
 biology/emboss/pkg-plist                           |  1 +
 7 files changed, 47 insertions(+), 17 deletions(-)
Comment 3 Jason W. Bacon freebsd_committer freebsd_triage 2021-09-06 14:25:55 UTC
Done, thanks for the quick response!
Comment 4 commit-hook freebsd_committer freebsd_triage 2021-09-06 15:17:14 UTC
A commit in branch main references this bug:

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

commit e47c577da6ce40e629041a92a327d9648ef72bd0
Author:     Jason W. Bacon <jwb@FreeBSD.org>
AuthorDate: 2021-09-06 15:13:03 +0000
Commit:     Jason W. Bacon <jwb@FreeBSD.org>
CommitDate: 2021-09-06 15:13:03 +0000

    biology/emboss: Put emboss-shell in default PATH

    PREFIX is overridden by default in the port Makefile, so PREFIX/bin
    is not normally in PATH.  The purpose of emboss-shell is to prepend
    PREFIX/bin to PATH to give access to emboss tools.

    Also fix tcsh detection.

    PR:             258316

 biology/emboss/Makefile              | 3 ++-
 biology/emboss/distinfo              | 2 +-
 biology/emboss/files/emboss-shell.in | 2 +-
 biology/emboss/pkg-plist             | 2 +-
 4 files changed, 5 insertions(+), 4 deletions(-)