Date: Wed, 12 Apr 2017 01:14:48 +0000 (UTC) From: Gerald Pfeifer <gerald@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r438322 - head/lang/gcc47 Message-ID: <201704120114.v3C1EmPx047656@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gerald Date: Wed Apr 12 01:14:48 2017 New Revision: 438322 URL: https://svnweb.freebsd.org/changeset/ports/438322 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 and simplify the definition of GCC_VERSION since GCC 4.7 is EOL. Modified: head/lang/gcc47/Makefile Modified: head/lang/gcc47/Makefile ============================================================================== --- head/lang/gcc47/Makefile Tue Apr 11 22:11:39 2017 (r438321) +++ head/lang/gcc47/Makefile Wed Apr 12 01:14:48 2017 (r438322) @@ -6,8 +6,7 @@ PORTVERSION= 4.7.4 PORTREVISION= 3 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 powerpc powerpc64 sparc64 USES= cpe gmake iconv libtool makeinfo perl5 tar:bzip2
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704120114.v3C1EmPx047656>