Skip site navigation (1)Skip section navigation (2)
Date:      15 Jul 2002 23:55:46 -0600
From:      Eric Anholt <eta@lclark.edu>
To:        portmgr <portmgr@FreeBSD.org>
Cc:        ports@freebsd.org
Subject:   USE_PERL5 depending on existence of a 'perl' in path
Message-ID:  <1026798947.9971.133.camel@anholt.dyndns.org>

next in thread | raw e-mail | index | archive | help
I'm seeing a problem with the USE_PERL5 option in bsd.port.mk on
-current.  I'm working on the X ports in a chroot (fresh installworld
into a DESTDIR, checked out fresh /usr/ports inside of it, applied
http://people.freebsd.org/~anholt/files/imake4diff), and the perl
dependency isn't being picked up correctly (it finds the non-functional
/usr/bin/perl) until I do the modification in
<http://people.freebsd.org/~anholt/files/bsdportmk.diff>.

Is it correct / should it be applied?

<apply patch to imake-4 adding USE_PERL5>

root@anholt:ports/devel/imake-4# ll /var/db/pkg             
total 2
drwxr-xr-x  2 root  wheel  512 Jul 14 23:48 ./
drwxr-xr-x  5 root  wheel  512 Jul 16 03:27 ../
root@anholt:ports/devel/imake-4# sysctl kern.osreldate      
kern.osreldate: 500037
root@anholt:ports/devel/imake-4# perl
perl: Perl is not installed, try 'pkg_add -r perl'
root@anholt:ports/devel/imake-4# make
===>  Extracting for imake-4.2.0_1
>> Checksum OK for xc/X420src-1.tgz.
===>   imake-4.2.0_1 depends on executable: perl5.6.1 - found
^C

<apply patch to bsd.port.mk>

===>  Extracting for imake-4.2.0_1
>> Checksum OK for xc/X420src-1.tgz.
===>   imake-4.2.0_1 depends on file: /usr/local/bin/perl5.6.1 - not
found
===>    Verifying install for /usr/local/bin/perl5.6.1 in
/usr/ports/lang/perl5
>> perl-5.6.1.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
>> Attempting to fetch from
http://www.cpan.dk/CPAN/modules/by-module/../../src/.
^C

-- 
Eric Anholt <eta@lclark.edu>
http://people.freebsd.org/~anholt/dri/



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1026798947.9971.133.camel>