From owner-freebsd-ports@FreeBSD.ORG Tue Jan 6 22:40:59 2015 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9680290C for ; Tue, 6 Jan 2015 22:40:59 +0000 (UTC) Received: from udns.ultimatedns.net (unknown [IPv6:2602:d1:b4d6:e600:4261:86ff:fef6:aa2a]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6E9B99CE for ; Tue, 6 Jan 2015 22:40:59 +0000 (UTC) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id t06MfLul011210; Tue, 6 Jan 2015 14:41:21 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) To: ports@freebsd.org, Andrea Venturoli In-Reply-To: <54AC5DE0.2030703@netfence.it> References: <54AC5DE0.2030703@netfence.it> From: "Chris H" Subject: Re: Help with porting FreeCAD Date: Tue, 06 Jan 2015 14:41:21 -0800 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2015 22:40:59 -0000 On Tue, 06 Jan 2015 23:12:48 +0100 Andrea Venturoli wrote > Hello. > > A while ago I dirty-ported FreeCAD 0.14 and more or less got it working. > Now it won't work anymore due to incompatible changes in OpenCASCADE > (which is a dependency); so I'm trying 0.15 (which is still a beta). > > The box I'm using runs 9.3 and I'm facing a problem I'm too > inexperienced about the port system to solve: > > _ g++ 4.9 seems to be needed (previous versions having an unsolved bug), > so I put "USE_GCC=4.9"; > _ however, fortran is required and "USES=fortran:gcc" picks up gfortran48; > _ so in the link stage "-L/usr/local/lib/gcc48" comes before > "-L/usr/local/lib/gcc49" and I get unresolved symbols. > > Is there a way I can tell the port system to pick gfortran49 instead of > gfortran48 and forget about "-L/usr/local/lib/gcc48"? > Of course I could try uninstalling gcc-4.8.4, but this is unfortunately > a run dependency of several other ports. I think what you're looking for here is BUILD_DEPENDS= and RUN_DEPENDS= --Chris > > > bye & Thanks > av. > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"