svn commit: r438416 - head/lang/gcc46
Gerald Pfeifer
gerald at FreeBSD.org
Thu Apr 13 01:27:16 UTC 2017
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 at 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
More information about the svn-ports-all
mailing list