[MacPorts] howto/cpan2port modified
MacPorts Wiki
noreply at macports.org
Fri Mar 1 22:16:41 UTC 2019
Page "howto/cpan2port" was changed by hyperbole
Diff URL: <https://trac.macports.org/wiki/howto/cpan2port?action=diff&version=23>
Revision 23
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/cpan2port
=========================================================================
--- howto/cpan2port (version: 22)
+++ howto/cpan2port (version: 23)
@@ -5,7 +5,7 @@
* Audience: Perl users
* Requires additional Perl modules (available as MacPorts perl ports: see step [#Step4:Getcpan2port Get cpan2port])
* I assume you are building your modules in a standard location, so commands that will write files in standard locations are preceded with 'sudo'.
- * If you are building file in directories you own, leave off the 'sudo' when using these commands.
+ * If you are building files in directories you own, leave off the 'sudo' when using these commands.
@@ -36,14 +36,14 @@
DESCRIPTION ASCII Date parser using regexp's
CPAN_USERID GBARR (Graham Barr <gbarr at pobox.com>)
CPAN_VERSION 2.30
- **CPAN_FILE G/GB/GBARR/TimeDate-1.20.tar.gz**
+ CPAN_FILE G/GB/GBARR/TimeDate-1.20.tar.gz
DSLIP_STATUS Rdpf? (released,developer,perl,functions,)
MANPAGE Date::Parse - Parse date strings into time values
INST_FILE /opt/local/lib/perl5/vendor_perl/5.8.9/Date/Parse.pm
INST_VERSION 2.27
}}}
-So you want the TimeDate module.
+Looking at the CPAN_FILE line we see that you want the TimeDate module.
=== Step 3: '''Check that port is not available''' ===
@@ -120,7 +120,6 @@
{{{
$ sudo port build
-Warning: MacPorts running without privileges. You may be unable to complete certain actions (e.g. install).
---> Computing dependencies for p5-timedate
---> Fetching p5-timedate
---> Attempting to fetch TimeDate-1.20.tar.gz from http://distfiles.macports.org/perl5
@@ -134,9 +133,13 @@
}}}
If you get an error similar to:
-{{{ Error: p5-timedate depends on p5.28-timedate }}}
+{{{
+ Error: p5-timedate depends on p5.28-timedate
+}}}
when trying to build, try the following command
-{{{ sudo port build subport=p5.28-timedate }}}
+{{{
+ sudo port build subport=p5.28-timedate
+}}}
=== Step 8: '''Fix the Portfile''' ===
-------8<------8<------8<------8<------8<------8<------8<------8<--------
--
Page URL: <https://trac.macports.org/wiki/howto/cpan2port>
MacPorts <https://www.macports.org/>
Ports system for macOS
This is an automated message. Someone added your email address to be
notified of changes on 'howto/cpan2port' page.
If it was not you, please report to admin at macports.org.
More information about the macports-changes
mailing list