Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 2013 12:30:09 +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: r325341 - head/lang/gcc
Message-ID:  <201308251230.r7PCU9AR068967@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gerald
Date: Sun Aug 25 12:30:09 2013
New Revision: 325341
URL: http://svnweb.freebsd.org/changeset/ports/325341

Log:
  Replace VERSIONSTRING by DISTVERSION.
  
  Replace USE_GMAKE by USES=gmake.

Modified:
  head/lang/gcc/Makefile

Modified: head/lang/gcc/Makefile
==============================================================================
--- head/lang/gcc/Makefile	Sun Aug 25 12:21:15 2013	(r325340)
+++ head/lang/gcc/Makefile	Sun Aug 25 12:30:09 2013	(r325341)
@@ -5,7 +5,7 @@ PORTNAME=	gcc
 PORTVERSION=	4.6.3
 CATEGORIES=	lang java
 MASTER_SITES=	${MASTER_SITE_GCC}
-MASTER_SITE_SUBDIR=	releases/gcc-${VERSIONSTRING}
+MASTER_SITE_SUBDIR=	releases/gcc-${DISTVERSION}
 
 MAINTAINER=	gerald@FreeBSD.org
 COMMENT=	GNU Compiler Collection 4.6
@@ -22,16 +22,15 @@ BUILD_DEPENDS+=	runtest:${PORTSDIR}/misc
 
 CONFLICTS=	gcc-4.6.[4-9]*
 
-# VERSIONSTRING relates to downloads, GCC_VERSION and SUFFIX to names
+# DISTVERSION relates to downloads, GCC_VERSION and SUFFIX to names
 # of executables and directories once installed.
-VERSIONSTRING=	${PORTVERSION}
+DISTVERSION=	${PORTVERSION}
 GCC_VERSION=	${PORTVERSION:C/(.+)\.[0-9]{8}/\1/}
 SUFFIX=		${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/}
 ONLY_FOR_ARCHS=	amd64 i386 ia64 powerpc sparc64
+USES=		bison gmake iconv
 USE_BINUTILS=	yes
-USES=		bison iconv
 USE_BZIP2=	yes
-USE_GMAKE=	yes
 USE_PERL5_BUILD=yes
 
 PATCH_WRKSRC=	${SRCDIR}
@@ -53,7 +52,7 @@ CONFIGURE_TARGET=	${ARCH}-portbld-freebs
 .endif
 
 LANGUAGES:=	c,c++,objc,fortran
-SRCDIR=		${WRKDIR}/gcc-${VERSIONSTRING}
+SRCDIR=		${WRKDIR}/gcc-${DISTVERSION}
 WRKSRC=		${WRKDIR}/build
 TARGLIB=	${PREFIX}/lib/gcc${SUFFIX}
 LIBEXEC=	${PREFIX}/libexec/gcc${SUFFIX}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308251230.r7PCU9AR068967>