From owner-svn-ports-all@freebsd.org Tue Nov 24 10:19:24 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 11C32A35FCB; Tue, 24 Nov 2015 10:19:24 +0000 (UTC) (envelope-from gerald@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CFDD81C84; Tue, 24 Nov 2015 10:19:23 +0000 (UTC) (envelope-from gerald@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tAOAJMYp049919; Tue, 24 Nov 2015 10:19:22 GMT (envelope-from gerald@FreeBSD.org) Received: (from gerald@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tAOAJMTF049917; Tue, 24 Nov 2015 10:19:22 GMT (envelope-from gerald@FreeBSD.org) Message-Id: <201511241019.tAOAJMTF049917@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gerald set sender to gerald@FreeBSD.org using -f From: Gerald Pfeifer Date: Tue, 24 Nov 2015 10:19:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r402352 - head/lang/gcc X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Nov 2015 10:19:24 -0000 Author: gerald Date: Tue Nov 24 10:19:22 2015 New Revision: 402352 URL: https://svnweb.freebsd.org/changeset/ports/402352 Log: This being the generic GCC port, add gfortran, gcc, and g++ as links to the versioned executable (gfortran48, gcc48, and g++48). These standard names are going to remain in place in case of version upgrades and constitute the default, and expected by users, names. Suggested by: db Reviewed by: db Modified: head/lang/gcc/Makefile head/lang/gcc/pkg-plist Modified: head/lang/gcc/Makefile ============================================================================== --- head/lang/gcc/Makefile Tue Nov 24 09:23:35 2015 (r402351) +++ head/lang/gcc/Makefile Tue Nov 24 10:19:22 2015 (r402352) @@ -3,7 +3,7 @@ PORTNAME= gcc PORTVERSION= 4.8.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang java MASTER_SITES= GCC/releases/gcc-${DISTVERSION} @@ -168,5 +168,10 @@ post-stage: fi .endfor cd ${WRKDIR} ; ${SED} -i -e "/PLIST.lib/ r PLIST.lib" ${TMPPLIST} + # This is the canonical GCC port, so add key commands without + # version numbers as part of their names. + for c in gfortran g++ gcc; do \ + ${LN} -s ${PREFIX}/bin/"$$c"${SUFFIX} ${STAGEDIR}${PREFIX}/bin/$$c ; \ + done .include Modified: head/lang/gcc/pkg-plist ============================================================================== --- head/lang/gcc/pkg-plist Tue Nov 24 09:23:35 2015 (r402351) +++ head/lang/gcc/pkg-plist Tue Nov 24 10:19:22 2015 (r402352) @@ -8,12 +8,15 @@ bin/%%GNU_HOST%%-gcc-ranlib%%SUFFIX%% bin/%%GNU_HOST%%-gfortran%%SUFFIX%% bin/c++%%SUFFIX%% bin/cpp%%SUFFIX%% +bin/g++ bin/g++%%SUFFIX%% +bin/gcc bin/gcc%%SUFFIX%% bin/gcc-ar%%SUFFIX%% bin/gcc-nm%%SUFFIX%% bin/gcc-ranlib%%SUFFIX%% bin/gcov%%SUFFIX%% +bin/gfortran bin/gfortran%%SUFFIX%% @comment info/gcc%%SUFFIX%%/dir man/man1/cpp%%SUFFIX%%.1.gz