From owner-freebsd-ports@FreeBSD.ORG Tue Jun 6 09:03:46 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 9F02D16AD5F for ; Tue, 6 Jun 2006 08:55:43 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id C43CB43D49 for ; Tue, 6 Jun 2006 08:55:42 +0000 (GMT) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 06 Jun 2006 08:55:40 -0000 Received: from p54A7E762.dip.t-dialin.net (EHLO [192.168.0.12]) [84.167.231.98] by mail.gmx.net (mp035) with SMTP; 06 Jun 2006 10:55:40 +0200 X-Authenticated: #5465401 Message-ID: <44854300.2070903@gmx.de> Date: Tue, 06 Jun 2006 10:55:28 +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> In-Reply-To: <448522E0.6010305@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 09:03:58 -0000 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. >> >> This is the end of the output. >> ... > > Did you set CC and CXX in /etc/make.conf? > > Björn > > 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 hope there will never be a category named work...