Changeset View
Changeset View
Standalone View
Standalone View
lang/gcc7-devel/Makefile
# Created by: Gerald Pfeifer <gerald@FreeBSD.org> | # Created by: Gerald Pfeifer <gerald@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= gcc | PORTNAME= gcc | ||||
PORTVERSION= 7.2.1.s20171207 | PORTVERSION= 7.2.1.s20171207 | ||||
CATEGORIES= lang | CATEGORIES= lang | ||||
MASTER_SITES= GCC/snapshots/${DIST_VERSION} | MASTER_SITES= GCC/snapshots/${DIST_VERSION} | ||||
PKGNAMESUFFIX= ${SUFFIX}-devel | PKGNAMESUFFIX= ${SUFFIX}-devel | ||||
DISTNAME= gcc-${DIST_VERSION} | DISTNAME= gcc-${DIST_VERSION} | ||||
MAINTAINER= gerald@FreeBSD.org | MAINTAINER= gerald@FreeBSD.org | ||||
COMMENT= GNU Compiler Collection 7 | COMMENT= GNU Compiler Collection 7 | ||||
LICENSE= GPLv3 GPLv3RLE | LICENSE= GPLv3 GPLv3RLE | ||||
LICENSE_COMB= multi | LICENSE_COMB= multi | ||||
ONLY_FOR_ARCHS= aarch64 amd64 arm armv6 armv7 i386 powerpc powerpc64 sparc64 | ONLY_FOR_ARCHS= aarch64 amd64 arm armv6 armv7 i386 powerpc powerpc64 powerpcspe sparc64 | ||||
LIB_DEPENDS= libgmp.so:math/gmp \ | LIB_DEPENDS= libgmp.so:math/gmp \ | ||||
libmpfr.so:math/mpfr \ | libmpfr.so:math/mpfr \ | ||||
libmpc.so:math/mpc | libmpc.so:math/mpc | ||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils | BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils | ||||
RUN_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils | RUN_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils | ||||
.if defined(MAINTAINER_MODE) | .if defined(MAINTAINER_MODE) | ||||
Show All 34 Lines | |||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if ${ARCH} == amd64 | .if ${ARCH} == amd64 | ||||
CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL} | CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL} | ||||
.elif ${ARCH} == powerpc64 | .elif ${ARCH} == powerpc64 | ||||
CONFIGURE_ENV+= UNAME_m="powerpc64" | CONFIGURE_ENV+= UNAME_m="powerpc64" | ||||
USE_GCC= yes | USE_GCC= yes | ||||
.elif ${ARCH} == powerpcspe | |||||
CONFIGURE_ARGS+= --with-cpu=8540 --enable-e500_double --without-fp | |||||
.endif | .endif | ||||
LANGUAGES:= c,c++,objc,fortran | LANGUAGES:= c,c++,objc,fortran | ||||
TARGLIB= ${PREFIX}/lib/gcc${SUFFIX} | TARGLIB= ${PREFIX}/lib/gcc${SUFFIX} | ||||
LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX} | LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX} | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
CONFIGURE_OUTSOURCE= yes | CONFIGURE_OUTSOURCE= yes | ||||
.if empty(PORT_OPTIONS:MBOOTSTRAP) | .if empty(PORT_OPTIONS:MBOOTSTRAP) | ||||
▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines |