From owner-freebsd-questions@FreeBSD.ORG Thu Jan 15 09:29:33 2004 Return-Path: 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 C056B16A4CE for ; Thu, 15 Jan 2004 09:29:33 -0800 (PST) Received: from 82-41-27-158.cable.ubr04.edin.blueyonder.co.uk (82-41-27-158.cable.ubr04.edin.blueyonder.co.uk [82.41.27.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 612E143D48 for ; Thu, 15 Jan 2004 09:29:23 -0800 (PST) (envelope-from andrew@cream.org) Received: from cream.org (spatula.flat [192.168.0.2]) by myriad.flat (Postfix) with ESMTP id 8041AC2; Thu, 15 Jan 2004 16:22:35 +0000 (GMT) Message-ID: <4006CDFB.1010200@cream.org> Date: Thu, 15 Jan 2004 17:29:31 +0000 From: Andrew Boothman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Daniel J Cain Jr." References: <1074115995.87332.18.camel@gigabeast.home.cain.sh> <20040115024337.GB839@zi025.glhnet.mhn.de> <1074145290.87332.21.camel@gigabeast.home.cain.sh> In-Reply-To: <1074145290.87332.21.camel@gigabeast.home.cain.sh> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: How to Select Compiler Version when Installing Port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2004 17:29:33 -0000 Daniel J Cain Jr. wrote: >>>I am trying to get vmailmgr-0.96.9 to build from the ports collection of >>>FreeBSD 5.1-RELEASE. I 'think' it will work if I can have the port use >>>a different compiler version during the build. I have been unable to >>>figure/find out how (if?) this is possible. By default it seems to use >>>gcc 3.2.2, and I have the port install of gcc 2.9.5 available I just >>>don't know how to make 'make' use the older version. >> >>I usually use >> >>make CC= CXX= build > > > Thanks! That seems to have done the trick! If you had to do a lot of work to make the port work, it would be helpful if you contacted the maintainer of the port (look in the Makefile) and told them what you had to do. If there is no maintainer, the maintainer is ports@ or the maintainer doesn't do anything about it you could consider packaging your work up as a new port using the existing port as a starting point. See the porting handbook on the FreeBSD web site. Andrew