Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>So, in short, the answer lies within the ports system. From <code>/usr/ports/Mk/bsd.port.mk</code>:</p> <pre><code>Note: the distinction between the USE_* and WANT_* variables, and the WITH_* and WITHOUT_* variables, are that the former are restricted to usage inside the ports framework, and the latter are reserved for user- settable options. (Setting USE_* in /etc/make.conf is always wrong). </code></pre> <p>Usually, when installing from a port, the <code>Makefile</code> will recursively include a chain of files which at some point brings in:</p> <pre><code>/usr/ports/Mk/bsd.perl.mk </code></pre> <p>and this file evaluates all the <code>USE_PERL*</code> and <code>PERL*</code> variables defined the port's <code>Makefile</code>. In particular, <code>bsd.perl.mk</code> hard-codes the required Perl version and will install the Perl port if it isn't already on the system. </p> <p>The ports system is pretty cool, but I find this sort of thing frustrating as there doesn't appear to be any straightforward way to configure a port to build and/or run using pre-existing software.</p> <p>UPDATE Aug 8, 2010:</p> <p>The bottom line is you either use ports or you don't. If you don't, you have to manually configure and track everything yourself but you also get the latest and (hopefully) greatest. The ports system is good, especially since each port can be configured as necessary and you get the advantages of easy upgrading and package management. (For, say, making custom compiled packages to install into jails--especially using a tool like ezjail.) The downside is that sometimes you have to wait a bit before a port is updated to the latest version. This isn't a big deal for common software, but you might be waiting a little while for more obscure items.</p> <p>Ultimately, the solution here is to install the Perl 5.12 port and go from there.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload