On Wed, 2002-07-10 at 11:34, Shizuka Kudo wrote:
> --- "Thyer, Matthew" <[EMAIL PROTECTED]> wrote:
> > make: don't know how to make /usr/X11R6/bin/ucs2any.pl. Stop
> > *** Error code 2
> > 
> > --
> Try:
>   build ports/lang/perl and set env PERL to /usr/local/bin/perl

The X ports are failing for a lot of people on -current because of a
lack of perl.  Most of the ports use perl in building as part of their
imake use.  I've added USE_PERL5 to imake-4's makefile locally, but it
seems to incorrectly detect the /usr/bin/perl wrapper as a functioning
perl installation.  Shouldn't USE_PERL5 depend on ${LOCALBASE}/bin/perl
on -current rather than just the existence of a binary called "perl" in
the path?

Before the patch:
%ls /usr/local/bin/
%/usr/bin/perl -pi -e "s|asd|sdf|g" test
perl: Perl is not installed, try 'pkg_add -r perl'
===>  Extracting for XFree86-4.2.0_1,1
>> No MD5 checksum file.
===>   XFree86-4.2.0_1,1 depends on shared library: Xft.1 - not found
===>    Verifying install for Xft.1 in
===>  Extracting for XFree86-libraries-4.2.0_2
>> Checksum OK for xc/X420src-1.tgz.
>> Checksum OK for xc/4.2.0-xlib-i18n-module.patch.
>> Checksum OK for xc/4.2.0-libGLU-bad-extern.patch.
===>   XFree86-libraries-4.2.0_2 depends on executable: imake - not
===>    Verifying install for imake in /usr/ports/devel/imake-4
===>  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


Index: Mk/bsd.port.mk
RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.418
diff -u -r1.418 bsd.port.mk
--- Mk/bsd.port.mk	5 Jul 2002 09:14:53 -0000	1.418
+++ Mk/bsd.port.mk	11 Jul 2002 21:40:30 -0000
@@ -1026,8 +1026,13 @@
 PERL=			${LOCALBASE}/bin/perl
 .if defined(USE_PERL5)
+.if ${OSVERSION} >= 500036

Reply via email to