From owner-svn-ports-all@freebsd.org Sun Mar 26 20:01:08 2017 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 AC142D1E927; Sun, 26 Mar 2017 20:01:08 +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 78B5718A3; Sun, 26 Mar 2017 20:01:08 +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 v2QK17SO056007; Sun, 26 Mar 2017 20:01:07 GMT (envelope-from gerald@FreeBSD.org) Received: (from gerald@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2QK179V056006; Sun, 26 Mar 2017 20:01:07 GMT (envelope-from gerald@FreeBSD.org) Message-Id: <201703262001.v2QK179V056006@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gerald set sender to gerald@FreeBSD.org using -f From: Gerald Pfeifer Date: Sun, 26 Mar 2017 20:01:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r436983 - 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.23 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: Sun, 26 Mar 2017 20:01:08 -0000 Author: gerald Date: Sun Mar 26 20:01:07 2017 New Revision: 436983 URL: https://svnweb.freebsd.org/changeset/ports/436983 Log: Use relative links for the generic g++, gcc, and gfortran. Replace a shell for-loop with a bmake .for-loop on the way. Reported by: danfe Reviewed by: danfe Modified: head/lang/gcc/Makefile Modified: head/lang/gcc/Makefile ============================================================================== --- head/lang/gcc/Makefile Sun Mar 26 19:52:53 2017 (r436982) +++ head/lang/gcc/Makefile Sun Mar 26 20:01:07 2017 (r436983) @@ -3,6 +3,7 @@ PORTNAME= gcc PORTVERSION= 4.9.4 +PORTREVISION= 1 CATEGORIES= lang java MASTER_SITES= GCC/releases/gcc-${DISTVERSION} @@ -163,8 +164,8 @@ post-stage: 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 +.for c in gfortran g++ gcc + ${LN} -s ${c}${SUFFIX} ${STAGEDIR}${PREFIX}/bin/${c} +.endfor .include