From owner-svn-ports-head@freebsd.org Sun Dec 3 13:59:54 2017 Return-Path: Delivered-To: svn-ports-head@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 C5586DFC48D; Sun, 3 Dec 2017 13:59:54 +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 9239079E1A; Sun, 3 Dec 2017 13:59:54 +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 vB3DxrTg085208; Sun, 3 Dec 2017 13:59:53 GMT (envelope-from gerald@FreeBSD.org) Received: (from gerald@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vB3DxrdS085207; Sun, 3 Dec 2017 13:59:53 GMT (envelope-from gerald@FreeBSD.org) Message-Id: <201712031359.vB3DxrdS085207@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gerald set sender to gerald@FreeBSD.org using -f From: Gerald Pfeifer Date: Sun, 3 Dec 2017 13:59:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455405 - head/lang/gcc X-SVN-Group: ports-head X-SVN-Commit-Author: gerald X-SVN-Commit-Paths: head/lang/gcc X-SVN-Commit-Revision: 455405 X-SVN-Commit-Repository: ports 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.25 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: Sun, 03 Dec 2017 13:59:54 -0000 Author: gerald Date: Sun Dec 3 13:59:53 2017 New Revision: 455405 URL: https://svnweb.freebsd.org/changeset/ports/455405 Log: Ensure our dependencies also work properly when GCC_DEFAULT is one of the older versions, in particular 4.9 which is the last working on SPARC. Reported by: linimon Modified: head/lang/gcc/Makefile Modified: head/lang/gcc/Makefile ============================================================================== --- head/lang/gcc/Makefile Sun Dec 3 13:33:02 2017 (r455404) +++ head/lang/gcc/Makefile Sun Dec 3 13:59:53 2017 (r455405) @@ -10,7 +10,9 @@ DISTFILES= # not applicable MAINTAINER= gerald@FreeBSD.org COMMENT= Meta-port for the default version of the GNU Compiler Collection -RUN_DEPENDS= gcc${GCC_DEFAULT}:lang/gcc${GCC_DEFAULT} +# Once GCC 4.9 and 4.8 aren't options any longer, we can simply use +# GCC_DEFAULT again below (the expression rewrites 4.9 to 49). +RUN_DEPENDS= gcc${GCC_DEFAULT:S/.//}:lang/gcc${GCC_DEFAULT:S/.//} NO_ARCH= yes NO_BUILD= yes