From owner-freebsd-current Sun Nov 3 4:50:15 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 E564C37B401; Sun, 3 Nov 2002 04:50:11 -0800 (PST) Received: from baraca.united.net.ua (ns.united.net.ua [193.111.8.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 695FE43E3B; Sun, 3 Nov 2002 04:50:09 -0800 (PST) (envelope-from max@vega.com) Received: from vega.vega.com (xDSL-2-2.united.net.ua [193.111.9.226]) by baraca.united.net.ua (8.12.6/8.11.6) with ESMTP id gA3CnpIO013592; Sun, 3 Nov 2002 14:49:53 +0200 (EET) (envelope-from max@vega.com) Received: from vega.vega.com (max@localhost [127.0.0.1]) by vega.vega.com (8.12.6/8.12.5) with ESMTP id gA3CnvaJ079794; Sun, 3 Nov 2002 14:49:57 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: (from max@localhost) by vega.vega.com (8.12.6/8.12.5/Submit) id gA3Cnras079793; Sun, 3 Nov 2002 14:49:53 +0200 (EET) Date: Sun, 3 Nov 2002 14:49:53 +0200 From: Maxim Sobolev To: Kris Kennaway Cc: ports@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: URGENT: Over 700 ports missing perl dependencies Message-ID: <20021103124953.GG76768@vega.vega.com> References: <20021103040421.GA15315@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="9jxsPFA5p3P2qPhR" Content-Disposition: inline In-Reply-To: <20021103040421.GA15315@xor.obsecurity.org> User-Agent: Mutt/1.4i 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 --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=koi8-r Content-Disposition: inline On Sat, Nov 02, 2002 at 08:04:21PM -0800, Kris Kennaway wrote: > The latest bento run on 5.0 is the first to build without perl > present: previously, two of the portbuild scripts were written in > perl, so I had to always pkg_add it into the chroot environment. Now > that these scripts have been rewritten in C and I have stopped doing > the pkg_add, it is exposing all the ports that should have a > dependency on perl but currently do not. > > At least 700 additional ports are breaking for this reason. Many of > them are using ${PERL} to do patching-in-place, and these should be > converted to use REINPLACE_CMD/USE_REINPLACE. Others use perl > during the build and should set USE_PERL. > > Everyone please check > > http://bento.freebsd.org/errorlogs/5-latest/index-maintainer.html > > ASAP and fix the listed problems. Note that I am aware of two > problems with the recent build: > > 1) Port builds are being killed after 1 hour, instead of after 1 hour > *without output*. This is a bug in the aforementioned C code. > > 2) Ports that use PERL_CONFIGURE should automatically get a dependency > on perl in bsd.port.mk. Apparently someone has submitted a patch for > this already, but I don't immediately know where it is to test it. It was me. I am attaching it with this message. -Maxim --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=koi8-r Content-Disposition: attachment; filename="bsd.port.mk-USE_PERL5.diff" Index: bsd.port.mk =================================================================== RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v retrieving revision 1.426 diff -d -u -r1.426 bsd.port.mk --- bsd.port.mk 2 Oct 2002 07:18:17 -0000 1.426 +++ bsd.port.mk 26 Oct 2002 13:13:21 -0000 @@ -1006,6 +1006,10 @@ PERL_VER=${PERL_VER} \ PERL_ARCH=${PERL_ARCH} +.if defined(PERL_CONFIGURE) +USE_PERL5= yes +.endif + .if exists(/usr/bin/perl5) && ${OSVERSION} >= 300000 && ${OSVERSION} < 500036 .if !exists(/usr/bin/perl${PERL_VERSION}) && defined(USE_PERL5) pre-everything:: @@ -1674,7 +1678,6 @@ CONFIGURE_ARGS+= CC="${CC}" CCFLAGS="${CFLAGS}" PREFIX="${PREFIX}" \ INSTALLPRIVLIB="${PREFIX}/lib" INSTALLARCHLIB="${PREFIX}/lib" CONFIGURE_SCRIPT?= Makefile.PL -USE_PERL5= yes .undef HAS_CONFIGURE .endif --9jxsPFA5p3P2qPhR-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message