find port install options

Warren Block wblock at wonkity.com
Wed Dec 20 08:27:13 PST 2006


On Wed, 20 Dec 2006, Robin Becker wrote:

> Robin Becker wrote:
>> Is it possible to determine what options were used during port 
>> installation. One of the recipes I'm trying to follow calls for perl to be 
>> installed with USE_THREADS=yes.
>
> ........
>
> well I found out that the installed perl doesn't have threads by running a 
> thread sample script. But I guess I still need to know if any other options 
> were used during the install.

It should show on 'perl -V' under Compile-time options.

>> I suppose its safest to assume that I need to reinstall perl, but how easy 
>> is it to do that? I think it was installed by default.

Easy, as long as you've updated ports with cvsup or portsnap.  As root:

cd /usr/ports/lang/perl5.8
make -DWITH_THREADS install
make clean

-Warren Block * Rapid City, South Dakota USA


More information about the freebsd-questions mailing list