From owner-freebsd-questions@FreeBSD.ORG Mon Oct 30 13:03:24 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D97AA16A4C2 for ; Mon, 30 Oct 2006 13:03:24 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48B2843D58 for ; Mon, 30 Oct 2006 13:03:24 +0000 (GMT) (envelope-from cpghost@cordula.ws) Received: from epia2.farid-hajji.net (epia-2 [192.168.254.11]) by fw.farid-hajji.net (Postfix) with ESMTP id 1A4BDDEAF6; Mon, 30 Oct 2006 13:58:04 +0100 (CET) Date: Mon, 30 Oct 2006 06:03:31 -0700 From: cpghost To: freebsd-questions@freebsd.org Message-ID: <20061030130331.GA50119@epia2.farid-hajji.net> References: <45411824.70100@mail.zedat.fu-berlin.de> <20061029061912.GA84479@epia2.farid-hajji.net> <20061029055440.7616.GERARD@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061029055440.7616.GERARD@seibercom.net> User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Re: qt-3.3/php 5.1.6 does not compile FreeBSD 6.2-PRE/AMD64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2006 13:03:24 -0000 On Sun, Oct 29, 2006 at 06:03:43AM -0500, Gerard Seibert wrote: > > I've had a similar show-stopper, until I realized that I had > > WITH_THREADS set in /etc/make.conf (to get a threaded perl), > > which was then picked up by the libxml2 port. After recompiling > > and reinstalling libxml2 without WITH_THREADS, php 5.1.6 port > > compiled without any problems. > > You might want to consider putting the conditional make flags into 'if' > statements in the '/etc/make.conf' file. > > .if $(.CURDIR:M*/lang/perl5.8) > WITH_THREADS=yes > .endif > > Something like that might work, although you may have to tweak it > slightly. Thanks! That's a great hint. I've added this to my /etc/make.conf and it works great: .if ${.CURDIR:M*/lang/perl5.8} WITH_THREADS=yes .endif .if ${.CURDIR:M*/editors/emacs} WITHOUT_X11=yes .endif .if ${.CURDIR:M*/multimedia/mplayer} WITHOUT_GUI=yes .endif That's much better than the general knobs that always get in the way. > Gerard Regards, -cpghost. -- Cordula's Web. http://www.cordula.ws/