Changes between Version 22 and Version 23 of howto/cpan2port


Ignore:
Timestamp:
Mar 1, 2019, 10:16:40 PM (5 years ago)
Author:
hyperbole (hyperbole)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • howto/cpan2port

    v22 v23  
    66 * Requires additional Perl modules (available as MacPorts perl ports: see step [#Step4:Getcpan2port Get cpan2port])
    77 * I assume you are building your modules in a standard location, so commands that will write files in standard locations are preceded with 'sudo'.
    8  *   If you are building file in directories you own, leave off the 'sudo' when using these commands.
     8 *   If you are building files in directories you own, leave off the 'sudo' when using these commands.
    99
    1010
     
    3737   CPAN_USERID  GBARR (Graham Barr <gbarr@pobox.com>)
    3838   CPAN_VERSION 2.30
    39    **CPAN_FILE    G/GB/GBARR/TimeDate-1.20.tar.gz**
     39   CPAN_FILE    G/GB/GBARR/TimeDate-1.20.tar.gz
    4040   DSLIP_STATUS Rdpf? (released,developer,perl,functions,)
    4141   MANPAGE      Date::Parse - Parse date strings into time values
     
    4444}}}
    4545
    46 So you want the TimeDate module.
     46Looking at the CPAN_FILE line we see that you want the TimeDate module.
    4747
    4848=== Step 3: '''Check that port is not available''' ===
     
    121121{{{
    122122$ sudo port build
    123 Warning: MacPorts running without privileges. You may be unable to complete certain actions (e.g. install).
    124123--->  Computing dependencies for p5-timedate
    125124--->  Fetching p5-timedate
     
    135134
    136135If you get an error similar to:
    137 {{{ Error: p5-timedate depends on p5.28-timedate }}}
     136{{{
     137 Error: p5-timedate depends on p5.28-timedate
     138}}}
    138139when trying to build, try the following command
    139 {{{ sudo port build subport=p5.28-timedate }}}
     140{{{
     141 sudo port build subport=p5.28-timedate
     142}}}
    140143
    141144=== Step 8: '''Fix the Portfile''' ===