Date: Sun, 22 Mar 2015 21:39:24 +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: r381964 - head/lang/gcc47 Message-ID: <201503222139.t2MLdO1w031195@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gerald Date: Sun Mar 22 21:39:24 2015 New Revision: 381964 URL: https://svnweb.freebsd.org/changeset/ports/381964 QAT: https://qat.redports.org/buildarchive/r381964/ Log: Add CPE information. [1] Use PKGNAMESUFFIX so that PORTNAME falls back to plain gcc and we can avoid setting DISTNAME and CPE_PRODUCT. [2] PR: 198256 [1] Submitted by: shun.fbsd.pr@dropcut.net [1] Suggested by: mat [2] Modified: head/lang/gcc47/Makefile Modified: head/lang/gcc47/Makefile ============================================================================== --- head/lang/gcc47/Makefile Sun Mar 22 21:20:13 2015 (r381963) +++ head/lang/gcc47/Makefile Sun Mar 22 21:39:24 2015 (r381964) @@ -1,14 +1,14 @@ # Created by: Gerald Pfeifer <gerald@FreeBSD.org> # $FreeBSD$ -PORTNAME= gcc47 +PORTNAME= gcc PORTVERSION= 4.7.4 PORTREVISION= 2 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.7 @@ -27,6 +27,7 @@ BUILD_DEPENDS+= runtest:${PORTSDIR}/misc .endif CONFLICTS= gcc-4.7.* +CPE_VENDOR= gnu # DISTVERSION relates to downloads, GCC_VERSION and SUFFIX to names # of executables and directories once installed. @@ -34,7 +35,7 @@ DISTVERSION= ${PORTVERSION} GCC_VERSION= ${PORTVERSION:C/(.+)\.[0-9]{8}/\1/} SUFFIX= ${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/} ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 sparc64 -USES= gmake iconv libtool makeinfo perl5 tar:bzip2 +USES= cpe gmake iconv libtool makeinfo perl5 tar:bzip2 USE_BINUTILS= yes USE_PERL5= build SSP_UNSAFE= yes
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503222139.t2MLdO1w031195>