From owner-freebsd-current Thu Jul 11 14:43: 3 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF57C37B400; Thu, 11 Jul 2002 14:42:53 -0700 (PDT) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1547943E52; Thu, 11 Jul 2002 14:42:53 -0700 (PDT) (envelope-from eta@lclark.edu) Received: from 12-224-154-76.client.attbi.com ([12.224.154.76]) by sccrmhc01.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020711214248.MNOA29588.sccrmhc01.attbi.com@12-224-154-76.client.attbi.com>; Thu, 11 Jul 2002 21:42:48 +0000 Subject: Re: don't know how to make /usr/X11R6/bin/ucs2any.pl. on v.recen t -CURRENT when trying to build ports/x11/XFree86-4 From: Eric Anholt To: current@FreeBSD.ORG, ports@freebsd.org In-Reply-To: <20020710173417.48052.qmail@web11402.mail.yahoo.com> References: <20020710173417.48052.qmail@web11402.mail.yahoo.com> Content-Type: multipart/mixed; boundary="=-G4Ph01dbrVRNr2vCRUgB" X-Mailer: Ximian Evolution 1.0.3 Date: 11 Jul 2002 15:42:49 -0600 Message-Id: <1026423770.527.149.camel@anholt.dyndns.org> Mime-Version: 1.0 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-G4Ph01dbrVRNr2vCRUgB Content-Type: text/plain Content-Transfer-Encoding: 7bit On Wed, 2002-07-10 at 11:34, Shizuka Kudo wrote: > --- "Thyer, Matthew" 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' %make ===> 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 /usr/ports/x11/XFree86-4-libraries ===> 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 found ===> 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 -- Eric Anholt http://people.freebsd.org/~anholt/dri/ --=-G4Ph01dbrVRNr2vCRUgB Content-Disposition: attachment; filename=useperl5.diff Content-Transfer-Encoding: quoted-printable Content-Type: text/x-patch; name=useperl5.diff; charset=ISO-8859-1 Index: Mk/bsd.port.mk =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 @@ PERL5=3D ${LOCALBASE}/bin/perl${PERL_VERSION} PERL=3D ${LOCALBASE}/bin/perl .if defined(USE_PERL5) +.if ${OSVERSION} >=3D 500036 +BUILD_DEPENDS+=3D ${LOCALBASE}/bin/perl${PERL_VERSION}:${PORTSDIR}/lang/pe= rl5 +RUN_DEPENDS+=3D ${LOCALBASE}/bin/perl${PERL_VERSION}:${PORTSDIR}/lang/perl= 5 +.else BUILD_DEPENDS+=3D perl${PERL_VERSION}:${PORTSDIR}/lang/perl5 RUN_DEPENDS+=3D perl${PERL_VERSION}:${PORTSDIR}/lang/perl5 +.endif .endif .endif =20 --=-G4Ph01dbrVRNr2vCRUgB-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message