aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshish SHUKLA <ashish@FreeBSD.org>2021-02-23 09:07:37 +0000
committerAshish SHUKLA <ashish@FreeBSD.org>2021-02-23 09:07:37 +0000
commitbb995aaf6e25e33b028fa4b32321864b48f49055 (patch)
treefff1795f864281e9e65270062c4e9357ead1ba27
parent193a8332cc31c82882bbc1be5e0254c964cd4305 (diff)
downloadports-bb995aaf6e25e33b028fa4b32321864b48f49055.tar.gz
ports-bb995aaf6e25e33b028fa4b32321864b48f49055.zip
- Enable gccjit support
Approved by: gerald (maintainer)
Notes
Notes: svn path=/head/; revision=566380
-rw-r--r--lang/gcc11-devel/Makefile5
-rw-r--r--lang/gcc11-devel/pkg-plist2
2 files changed, 6 insertions, 1 deletions
diff --git a/lang/gcc11-devel/Makefile b/lang/gcc11-devel/Makefile
index ea853db642ef..fe079a0c3e90 100644
--- a/lang/gcc11-devel/Makefile
+++ b/lang/gcc11-devel/Makefile
@@ -3,6 +3,7 @@
PORTNAME= gcc
PORTVERSION= 11.0.0.s20210214
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= GCC/snapshots/${DIST_VERSION}
PKGNAMESUFFIX= ${SUFFIX}-devel
@@ -74,7 +75,7 @@ USE_GCC= yes
USE_GCC= yes
.endif
-LANGUAGES:= c,c++,objc,fortran
+LANGUAGES:= c,c++,objc,fortran,jit
TARGLIB= ${PREFIX}/lib/gcc${SUFFIX}
TARGLIB32= ${PREFIX}/lib32 # The version information is added later
LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX}
@@ -92,6 +93,7 @@ BINMODE= 755
.endif
CONFIGURE_ARGS+=--disable-nls \
--enable-gnu-indirect-function \
+ --enable-host-shared \
--enable-plugin \
--libdir=${TARGLIB} \
--libexecdir=${LIBEXEC} \
@@ -115,6 +117,7 @@ INFO= gcc${SUFFIX}/cpp \
gcc${SUFFIX}/gccinstall \
gcc${SUFFIX}/gccint \
gcc${SUFFIX}/gfortran \
+ gcc${SUFFIX}/libgccjit \
gcc${SUFFIX}/libgomp
.if ${ARCH} == amd64 || ${ARCH} == i386
INFO+= gcc${SUFFIX}/libquadmath \
diff --git a/lang/gcc11-devel/pkg-plist b/lang/gcc11-devel/pkg-plist
index b9bd0e27dcef..cada193c9907 100644
--- a/lang/gcc11-devel/pkg-plist
+++ b/lang/gcc11-devel/pkg-plist
@@ -18,6 +18,8 @@ bin/gcov-dump%%SUFFIX%%
bin/gcov-tool%%SUFFIX%%
bin/gfortran%%SUFFIX%%
bin/lto-dump%%SUFFIX%%
+include/libgccjit++.h
+include/libgccjit.h
man/man1/cpp%%SUFFIX%%.1.gz
man/man1/g++%%SUFFIX%%.1.gz
man/man1/gcc%%SUFFIX%%.1.gz