Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Oct 2017 17:27:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 223098] [PATCH] biology/mummer: fix installing scripts and support binaries
Message-ID:  <bug-223098-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223098

            Bug ID: 223098
           Summary: [PATCH] biology/mummer: fix installing scripts and
                    support binaries
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: mzaki@niid.go.jp
          Keywords: patch

Created attachment 187287
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D187287&action=
=3Dedit
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=3Dshebangfix
* installing Foundation.pm, an awk script, and support binaries to
${PREFIX}/libexec/mummer

The port passed poudriere testport in my environment (10.3 amd64).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223098-13>