From owner-svn-ports-head@FreeBSD.ORG Fri Dec 20 16:34:00 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 41B4F3FE; Fri, 20 Dec 2013 16:34:00 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2E0A0131A; Fri, 20 Dec 2013 16:34:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBKGY0gG035828; Fri, 20 Dec 2013 16:34:00 GMT (envelope-from tijl@svn.freebsd.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBKGY0Do035827; Fri, 20 Dec 2013 16:34:00 GMT (envelope-from tijl@svn.freebsd.org) Message-Id: <201312201634.rBKGY0Do035827@svn.freebsd.org> From: Tijl Coosemans Date: Fri, 20 Dec 2013 16:34:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337035 - head/Mk/Uses X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2013 16:34:00 -0000 Author: tijl Date: Fri Dec 20 16:33:59 2013 New Revision: 337035 URL: http://svnweb.freebsd.org/changeset/ports/337035 Log: Add the directory with GCC runtime libraries to LDFLAGS. This lets Clang find the right libgcc_s when it links object files produced by gfortran. Modified: head/Mk/Uses/fortran.mk Modified: head/Mk/Uses/fortran.mk ============================================================================== --- head/Mk/Uses/fortran.mk Fri Dec 20 16:32:17 2013 (r337034) +++ head/Mk/Uses/fortran.mk Fri Dec 20 16:33:59 2013 (r337035) @@ -23,7 +23,8 @@ USE_BINUTILS= yes F77= gfortran${_GCC_VER} FC= gfortran${_GCC_VER} FFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER} -LDFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER} +LDFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER} \ + -L${LOCALBASE}/lib/gcc${_GCC_VER} .elif ${fortran_ARGS} == ifort BUILD_DEPENDS+= ${LOCALBASE}/intel_fc_80/bin/ifort:${PORTSDIR}/lang/ifc RUN_DEPENDS+= ${LOCALBASE}/intel_fc_80/bin/ifort:${PORTSDIR}/lang/ifc