From owner-freebsd-ports@FreeBSD.ORG Tue Jun 6 14:40:01 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4CBA16AF20 for ; Tue, 6 Jun 2006 14:40:01 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id EFD6843D4C for ; Tue, 6 Jun 2006 14:40:00 +0000 (GMT) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 06 Jun 2006 14:39:59 -0000 Received: from p54A7E762.dip.t-dialin.net (EHLO [192.168.0.12]) [84.167.231.98] by mail.gmx.net (mp001) with SMTP; 06 Jun 2006 16:39:59 +0200 X-Authenticated: #5465401 Message-ID: <448593B3.1090003@gmx.de> Date: Tue, 06 Jun 2006 16:39:47 +0200 From: "[LoN]Kamikaze" Organization: Lords of Nightmare User-Agent: Thunderbird 1.5.0.4 (X11/20060605) MIME-Version: 1.0 To: =?UTF-8?B?QmrDtnJuIEvDtm5pZw==?= References: <4484B0B5.8070703@gmx.de> <448522E0.6010305@cs.tu-berlin.de> <44854300.2070903@gmx.de> <44859057.3010207@cs.tu-berlin.de> In-Reply-To: <44859057.3010207@cs.tu-berlin.de> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 Cc: freebsd-ports@freebsd.org Subject: Re: databases/mysql50-server switches compiler during build 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, 06 Jun 2006 14:40:19 -0000 Björn König wrote: > [LoN]Kamikaze schrieb: > >> Björn König wrote: >> >>> [LoN]Kamikaze schrieb: >>> >>>> The mysql50-server port suddenly switches the compiler while building. >>>> I've got no idea what might cause this and how to solve it apart from >>>> deinstalling gcc41 - which would break everything built with it. >>> >>> Did you set CC and CXX in /etc/make.conf? >> >> Yes, but I'm safeguarding against ports that read /etc/make.conf from >> other files than category/port/Makefile by enclosing everything there >> with: >> >> .if ${.CURDIR:M*/ports/*} && !${.CURDIR:M*/work/*} >> .endif > > I suppose that's the problem somehow. I would try to build it with an > empty make.conf temporarily. > > Björn No I included a .warning to confirm that the /etc/make.conf is not read again. The error must be somewhere else, as unlikely as it seems.