Date: Mon, 30 Oct 2006 06:03:31 -0700 From: cpghost <cpghost@cordula.ws> To: freebsd-questions@freebsd.org Subject: Re: qt-3.3/php 5.1.6 does not compile FreeBSD 6.2-PRE/AMD64 Message-ID: <20061030130331.GA50119@epia2.farid-hajji.net> In-Reply-To: <20061029055440.7616.GERARD@seibercom.net> References: <45411824.70100@mail.zedat.fu-berlin.de> <20061029061912.GA84479@epia2.farid-hajji.net> <20061029055440.7616.GERARD@seibercom.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061030130331.GA50119>
