Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Mar 2015 21:11:52 +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: r381962 - head/lang/gcc46
Message-ID:  <201503222111.t2MLBqdZ020451@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gerald
Date: Sun Mar 22 21:11:51 2015
New Revision: 381962
URL: https://svnweb.freebsd.org/changeset/ports/381962
QAT: https://qat.redports.org/buildarchive/r381962/

Log:
  Use PKGNAMESUFFIX so that PORTNAME falls back to plain gcc and we
  can avoid setting DISTNAME and CPE_PRODUCT.
  
  Suggested by:	mat

Modified:
  head/lang/gcc46/Makefile

Modified: head/lang/gcc46/Makefile
==============================================================================
--- head/lang/gcc46/Makefile	Sun Mar 22 21:11:31 2015	(r381961)
+++ head/lang/gcc46/Makefile	Sun Mar 22 21:11:51 2015	(r381962)
@@ -1,14 +1,14 @@
 # Created by: Gerald Pfeifer <gerald@FreeBSD.org>
 # $FreeBSD$
 
-PORTNAME=	gcc46
+PORTNAME=	gcc
 PORTVERSION=	4.6.4
 PORTREVISION=	4
 PORTEPOCH=	1
 CATEGORIES=	lang java
 MASTER_SITES=	${MASTER_SITE_GCC}
 MASTER_SITE_SUBDIR=	releases/gcc-${DISTVERSION}
-DISTNAME=	gcc-${DISTVERSION}
+PKGNAMESUFFIX=	${SUFFIX}
 
 MAINTAINER=	gerald@FreeBSD.org
 COMMENT=	GNU Compiler Collection 4.6
@@ -27,7 +27,6 @@ BUILD_DEPENDS+=	runtest:${PORTSDIR}/misc
 .endif
 
 CPE_VENDOR=	gnu
-CPE_PRODUCT=	gcc
 
 # DISTVERSION relates to downloads, GCC_VERSION and SUFFIX to names
 # of executables and directories once installed.



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