| Summary: | [PATCH] biology/mummer: fix installing scripts and support binaries | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Motomichi Matsuzaki <mzaki> | ||||
| Component: | Individual Port(s) | Assignee: | Wen Heping <wen> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Many People | CC: | mzaki, wen | ||||
| Priority: | --- | Keywords: | patch | ||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
A commit references this bug: Author: wen Date: Mon Oct 30 02:27:23 UTC 2017 New revision: 453152 URL: https://svnweb.freebsd.org/changeset/ports/453152 Log: - Fix installing scripts and support binaries - Add LICENSE PR: 223098 Submitted by: mzaki@niid.go.jp Changes: head/biology/mummer/Makefile head/biology/mummer/distinfo head/biology/mummer/files/patch-Makefile head/biology/mummer/pkg-plist |
Created attachment 187287 [details] svn diff for biology/mummer Most scripts doesn't work due to incorrect installation. For example, % nucmer Can't locate Foundation.pm in @INC (you may need to install the Foundation module) (@INC contains: /wrkdirs/usr/ports/biology/mummer/work/MUMmer3.23/scripts /usr/local/lib/perl5/site_perl/mach/5.24 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.24/mach /usr/local/lib/perl5/5.24 .) at /usr/local/bin/nucmer line 19. BEGIN failed--compilation aborted at /usr/local/bin/nucmer line 19. 1) Foundation.pm, distributed within the tarball, is not installed at all. 2) @INC directs /wrkdirs/... i.e. $WRKSRC on the package building system. The attached patch fixes this by * configuring scripts via USES=shebangfix * installing Foundation.pm, an awk script, and support binaries to ${PREFIX}/libexec/mummer The port passed poudriere testport in my environment (10.3 amd64).