From owner-freebsd-ports@FreeBSD.ORG Tue Jan 6 22:13:05 2015 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5A8634A4 for ; Tue, 6 Jan 2015 22:13:05 +0000 (UTC) Received: from smtp207.alice.it (smtp207.alice.it [82.57.200.103]) by mx1.freebsd.org (Postfix) with ESMTP id E4463664ED for ; Tue, 6 Jan 2015 22:13:04 +0000 (UTC) Received: from soth.ventu (80.181.51.90) by smtp207.alice.it (8.6.060.28) (authenticated as acanedi@alice.it) id 547D8BAA05EE39DF for ports@freebsd.org; Tue, 6 Jan 2015 23:12:57 +0100 Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.15.1/8.14.7) with ESMTP id t06MCtDu018972 for ; Tue, 6 Jan 2015 23:12:55 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <54AC5DE0.2030703@netfence.it> Date: Tue, 06 Jan 2015 23:12:48 +0100 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: ports@freebsd.org Subject: Help with porting FreeCAD Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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:13:05 -0000 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. bye & Thanks av.