From owner-freebsd-ports@FreeBSD.ORG Tue Nov 27 13:23:59 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E88B916A41B for ; Tue, 27 Nov 2007 13:23:59 +0000 (UTC) (envelope-from davidt@yadt.co.uk) Received: from outcold.yadt.co.uk (outcold.yadt.co.uk [81.187.204.178]) by mx1.freebsd.org (Postfix) with ESMTP id 83C8513C4D5 for ; Tue, 27 Nov 2007 13:23:59 +0000 (UTC) (envelope-from davidt@yadt.co.uk) Received: from localhost (localhost [127.0.0.1]) by outcold.yadt.co.uk (Postfix) with ESMTP id 6F9616FCF; Tue, 27 Nov 2007 13:23:58 +0000 (GMT) X-Virus-Scanned: amavisd-new at yadt.co.uk Received: from outcold.yadt.co.uk ([127.0.0.1]) by localhost (outcold.yadt.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HmyLgMMSQVWR; Tue, 27 Nov 2007 13:23:58 +0000 (GMT) Received: from webmail.yadt.co.uk (localhost [127.0.0.1]) by outcold.yadt.co.uk (Postfix) with ESMTP id 29B3B6FCB; Tue, 27 Nov 2007 13:23:58 +0000 (GMT) Received: from 195.44.196.190 (proxying for 192.168.9.80) (SquirrelMail authenticated user davidt) by webmail.yadt.co.uk with HTTP; Tue, 27 Nov 2007 13:23:58 -0000 (UTC) Message-ID: <32860.195.44.196.190.1196169838.squirrel@webmail.yadt.co.uk> Date: Tue, 27 Nov 2007 13:23:58 -0000 (UTC) From: davidt@yadt.co.uk To: "pobox@verysmall.org" User-Agent: SquirrelMail/1.4.11 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-ports@freebsd.org Subject: Re: lang/perl5.8 fails X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2007 13:24:00 -0000 > David Taylor wrote: >> Do you have anything odd in your /etc/make.conf (e.g. USE_APACHE) > > This did it! > > I had USE_APACHE=2.2 in /etc/make.conf, > because I think php was building with Apache > 1.3 by default. > > Did not think this would confuse perl. > The problem is that you should never set USE_* except inside a port Makefile. Setting that in /etc/make.conf gives every port a dependency on a version of apache (which requires perl, hence the problem building perl). The 'user settable' options are usually WITH_* or WITHOUT_*. I'm not 100% sure (and can't check right now), but there might be an option that you can (reasonably) safely set globally in /etc/make.conf to prefer apache 2.2, but I don't know what it is.