[MacPorts] #49574: ack @2.140.0_1 fails destroot, looking for nonexistent .../perl5/vendor_perl/5.22

MacPorts noreply at macports.org
Thu Nov 5 13:25:41 PST 2015


#49574: ack @2.140.0_1 fails destroot, looking for nonexistent
.../perl5/vendor_perl/5.22
---------------------------+--------------------------------
  Reporter:  gunnlaugur@…  |      Owner:  macports-tickets@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.3.4
Resolution:                |   Keywords:
      Port:  ack           |
---------------------------+--------------------------------

Comment (by mojca@…):

 I'm confused. I don't understand when the following wrong version of Perl
 enters into equation:
 {{{
 Executing command line:  cd "/path/to/ack/work/ack-2.14" && /usr/bin/make
 -j2 -w all
 make: Entering directory `/path/to/ack/work/ack-2.14'
 cp ack blib/script/ack
 "/opt/local/bin/perl5.<DEFAULT_VERSION>" -MExtUtils::MY -e
 'MY->fixin(shift)' -- blib/script/ack
 cp ConfigDefault.pm blib/lib/App/Ack/ConfigDefault.pm
 cp FirstLineMatch.pm blib/lib/App/Ack/Filter/FirstLineMatch.pm
 }}}

 I tried adding the following into the Portfile (due to the fact that
 `Makefile.PL` is full of `$(PERL)`):
 {{{
 configure.env-append PERL=${perl5.bin}
 build.env-append     PERL=${perl5.bin}
 }}}
 which doesn't really help, but it leads to a similar problem at the end,
 saying that the directory doesn't exist.

-- 
Ticket URL: <https://trac.macports.org/ticket/49574#comment:4>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list