svn commit: r381947 - head/lang/gcc49

Gerald Pfeifer gerald at FreeBSD.org
Sun Mar 22 19:19:08 UTC 2015


Author: gerald
Date: Sun Mar 22 19:19:07 2015
New Revision: 381947
URL: https://svnweb.freebsd.org/changeset/ports/381947
QAT: https://qat.redports.org/buildarchive/r381947/

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/gcc49/Makefile

Modified: head/lang/gcc49/Makefile
==============================================================================
--- head/lang/gcc49/Makefile	Sun Mar 22 18:40:54 2015	(r381946)
+++ head/lang/gcc49/Makefile	Sun Mar 22 19:19:07 2015	(r381947)
@@ -1,12 +1,12 @@
 # Created by: Gerald Pfeifer <gerald at FreeBSD.org>
 # $FreeBSD$
 
-PORTNAME=	gcc49
+PORTNAME=	gcc
 PORTVERSION=	4.9.3.s20150318
 CATEGORIES=	lang java
 MASTER_SITES=	${MASTER_SITE_GCC}
 MASTER_SITE_SUBDIR=	snapshots/${DISTVERSION}
-DISTNAME=	gcc-${DISTVERSION}
+PKGNAMESUFFIX=	${SUFFIX}
 
 MAINTAINER=	gerald at FreeBSD.org
 COMMENT=	GNU Compiler Collection 4.9
@@ -25,7 +25,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.  A PORTVERSION of


More information about the svn-ports-head mailing list