mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Add CONFLICTS with lang/gcc which is also GCC 4.8-based right now.
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: 198260 [1] Submitted by: shun.fbsd.pr@dropcut.net [1] Suggested by: mat [2]
This commit is contained in:
parent
c78df99e25
commit
21f2409ed2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=381969
@ -1,12 +1,12 @@
|
||||
# Created by: Gerald Pfeifer <gerald@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= gcc48
|
||||
PORTVERSION= 4.8.5.s20150212
|
||||
PORTNAME= gcc
|
||||
PORTVERSION= 4.8.5.s20150319
|
||||
CATEGORIES= lang java
|
||||
MASTER_SITES= ${MASTER_SITE_GCC}
|
||||
MASTER_SITE_SUBDIR= snapshots/${DISTVERSION}
|
||||
DISTNAME= gcc-${DISTVERSION}
|
||||
PKGNAMESUFFIX= ${SUFFIX}
|
||||
|
||||
MAINTAINER= gerald@FreeBSD.org
|
||||
COMMENT= GNU Compiler Collection 4.8
|
||||
@ -24,6 +24,10 @@ RUN_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
|
||||
BUILD_DEPENDS+= runtest:${PORTSDIR}/misc/dejagnu
|
||||
.endif
|
||||
|
||||
CONFLICTS= gcc-4.8.*
|
||||
CPE_VENDOR= gnu
|
||||
CPE_VERSION= ${GCC_VERSION}
|
||||
|
||||
# DISTVERSION relates to downloads, GCC_VERSION and SUFFIX to names
|
||||
# of executables and directories once installed. A PORTVERSION of
|
||||
# 4.Y.2.s20130808 results in values of 4.Y-20130808, 4.Y.2, and 4Y
|
||||
@ -32,7 +36,7 @@ DISTVERSION= ${PORTVERSION:C/([0-9]+\.[0-9]+).*\.s([0-9]+)/\1-\2/}
|
||||
GCC_VERSION= ${PORTVERSION:C/(.+)\.s[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
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (gcc-4.8-20150212.tar.bz2) = 889a01edf24ac14a2652e3c0615391414d0166af07aa34e4e5245a9b398cfda8
|
||||
SIZE (gcc-4.8-20150212.tar.bz2) = 82107833
|
||||
SHA256 (gcc-4.8-20150319.tar.bz2) = e069e5927d5db573294aa76fecb0d36e20cf7b6db5d866c2215806ce0c8836fc
|
||||
SIZE (gcc-4.8-20150319.tar.bz2) = 82111008
|
||||
|
Loading…
Reference in New Issue
Block a user