From owner-svn-ports-all@freebsd.org Thu Apr 13 01:27:16 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 248B9D38E44; Thu, 13 Apr 2017 01:27:16 +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 E8CD7FBE; Thu, 13 Apr 2017 01:27:15 +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 v3D1RFwR046419; Thu, 13 Apr 2017 01:27:15 GMT (envelope-from gerald@FreeBSD.org) Received: (from gerald@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3D1RFG2046418; Thu, 13 Apr 2017 01:27:15 GMT (envelope-from gerald@FreeBSD.org) Message-Id: <201704130127.v3D1RFG2046418@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gerald set sender to gerald@FreeBSD.org using -f From: Gerald Pfeifer Date: Thu, 13 Apr 2017 01:27:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r438416 - head/lang/gcc46 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: Thu, 13 Apr 2017 01:27:16 -0000 Author: gerald Date: Thu Apr 13 01:27:14 2017 New Revision: 438416 URL: https://svnweb.freebsd.org/changeset/ports/438416 Log: Completely remove DIST_VERSION that mat introduced in revision 438272 to avoid DISTVERSION in this port . On the way also drop the definition of DISTNAME (where the default now works) and simplify the definition of GCC_VERSION; both of these are possible since GCC 4.6 is EOL. Modified: head/lang/gcc46/Makefile Modified: head/lang/gcc46/Makefile ============================================================================== --- head/lang/gcc46/Makefile Thu Apr 13 00:59:41 2017 (r438415) +++ head/lang/gcc46/Makefile Thu Apr 13 01:27:14 2017 (r438416) @@ -6,8 +6,7 @@ PORTVERSION= 4.6.4 PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= lang java -MASTER_SITES= GCC/releases/gcc-${DIST_VERSION} -DISTNAME= gcc-${DIST_VERSION} +MASTER_SITES= GCC/releases/gcc-${PORTVERSION} PKGNAMESUFFIX= ${SUFFIX} MAINTAINER= gerald@FreeBSD.org @@ -28,10 +27,9 @@ BUILD_DEPENDS+= runtest:misc/dejagnu CPE_VENDOR= gnu -# DIST_VERSION relates to downloads, GCC_VERSION and SUFFIX to names -# of executables and directories once installed. -DIST_VERSION= ${PORTVERSION} -GCC_VERSION= ${PORTVERSION:C/(.+)\.[0-9]{8}/\1/} +# GCC_VERSION and SUFFIX relate to names of executables and directories +# once installed. +GCC_VERSION= ${PORTVERSION} SUFFIX= ${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/} ONLY_FOR_ARCHS= amd64 i386 ia64 powerpc sparc64 USES= cpe gmake iconv libtool makeinfo perl5 tar:bzip2