mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 02:21:15 +02:00
Merge branch 'master' of https://github.com/sadsoldier/ports12
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# $Id: Makefile 1285 2007-10-25 11:42:14Z root $
|
||||
#
|
||||
PORTNAME= gcc
|
||||
PORTVERSION= 9.2.0
|
||||
PORTVERSION= 10.4.0
|
||||
DIST_SUBDIR= gnu
|
||||
MASTER_SITES+= http://ftp.gnu.org/gnu/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
|
||||
MASTER_SITES+= ftp://ftp.fu-berlin.de/unix/languages/gcc/snapshots/9-20190504/
|
||||
@@ -27,6 +27,7 @@ CONFIGURE_TARGET= ${TARGET}
|
||||
USES+= tar:xz
|
||||
GNU_CONFIGURE= yes
|
||||
USES+= gmake
|
||||
PATCH_STRIP= -p2
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
@@ -39,6 +40,7 @@ CFLAGS+= -fPIC -I${LOCALBASE}/include
|
||||
CXXFLAGS+= -fPIC -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
|
||||
TARGLIB= ${PREFIX}/lib/gcc/${PORTVERSION}
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1568436147
|
||||
SHA256 (gnu/gcc-9.2.0.tar.xz) = ea6ef08f121239da5695f76c9b33637a118dcf63e24164422231917fa61fb206
|
||||
SIZE (gnu/gcc-9.2.0.tar.xz) = 70607648
|
||||
TIMESTAMP = 1664433873
|
||||
SHA256 (gnu/gcc-10.4.0.tar.xz) = c9297d5bcd7cb43f3dfc2fed5389e948c9312fd962ef6a4ce455cff963ebe4f1
|
||||
SIZE (gnu/gcc-10.4.0.tar.xz) = 75018092
|
||||
|
||||
11
devel/gcc/files/patch-src_gcc_gcc_config_arm_arm.h
Normal file
11
devel/gcc/files/patch-src_gcc_gcc_config_arm_arm.h
Normal file
@@ -0,0 +1,11 @@
|
||||
--- src/gcc/gcc/config/arm/arm.h.orig 2016-12-05 16:07:09 UTC
|
||||
+++ src/gcc/gcc/config/arm/arm.h
|
||||
@@ -2273,7 +2273,7 @@ extern const char *arm_target_thumb_only
|
||||
|
||||
/* -mcpu=native handling only makes sense with compiler running on
|
||||
an ARM chip. */
|
||||
-#if defined(__arm__)
|
||||
+#if defined(__arm__) && !defined(CROSS_DIRECTORY_STRUCTURE)
|
||||
extern const char *host_detect_local_cpu (int argc, const char **argv);
|
||||
# define EXTRA_SPEC_FUNCTIONS \
|
||||
{ "local_cpu_detect", host_detect_local_cpu }, \
|
||||
11
devel/gcc/files/patch-src_gcc_gcc_tree-vect-loop.c
Normal file
11
devel/gcc/files/patch-src_gcc_gcc_tree-vect-loop.c
Normal file
@@ -0,0 +1,11 @@
|
||||
--- src/gcc/gcc/tree-vect-loop.c.orig 2019-12-02 09:49:15 UTC
|
||||
+++ src/gcc/gcc/tree-vect-loop.c
|
||||
@@ -55,6 +55,8 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "vec-perm-indices.h"
|
||||
#include "tree-eh.h"
|
||||
|
||||
+#define vec_step vec_step_
|
||||
+
|
||||
/* Loop Vectorization Pass.
|
||||
|
||||
This pass tries to vectorize loops.
|
||||
File diff suppressed because it is too large
Load Diff
112
devel/gcc92/Makefile
Normal file
112
devel/gcc92/Makefile
Normal file
@@ -0,0 +1,112 @@
|
||||
#
|
||||
# $Id: Makefile 1285 2007-10-25 11:42:14Z root $
|
||||
#
|
||||
PORTNAME= gcc
|
||||
PORTVERSION= 9.2.0
|
||||
DIST_SUBDIR= gnu
|
||||
MASTER_SITES+= http://ftp.gnu.org/gnu/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
|
||||
MASTER_SITES+= ftp://ftp.fu-berlin.de/unix/languages/gcc/snapshots/9-20190504/
|
||||
CATEGORIES= devel
|
||||
|
||||
MAINTAINER= onborodin@gmail.com
|
||||
COMMENT= GNU C Compiler v${PORTVERSION}
|
||||
|
||||
|
||||
LIB_DEPENDS+= libgmp.so:math/libgmp
|
||||
LIB_DEPENDS+= libmpc.so:math/libmpc
|
||||
LIB_DEPENDS+= libmpfr.so:math/libmpfr
|
||||
|
||||
BUILD_DEPENDS+= gawk:text/gawk
|
||||
|
||||
RUN_DEPENDS+= gas:devel/binutils
|
||||
RUN_DEPENDS+= gld:devel/binutils
|
||||
BUILD_DEPENDS+= ${RUN_DEPENDS}
|
||||
|
||||
|
||||
CONFIGURE_TARGET= ${TARGET}
|
||||
USES+= tar:xz
|
||||
GNU_CONFIGURE= yes
|
||||
USES+= gmake
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
TARGET= ${ARCH:S/amd64/x86_64/}-freebsd${OSREL:R}
|
||||
LANGUAGES= "c,fortran,c++"
|
||||
|
||||
USE_LDCONFIG= ${TARGLIB}
|
||||
|
||||
CFLAGS+= -fPIC -I${LOCALBASE}/include
|
||||
CXXFLAGS+= -fPIC -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
TARGLIB= ${PREFIX}/lib/gcc/${PORTVERSION}
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
|
||||
PATCH_WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
|
||||
CONFIGURE_WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}/build
|
||||
BUILD_WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}/build
|
||||
INSTALL_WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}/build
|
||||
|
||||
|
||||
#CONFIGURE_SCRIPT= ${WRKSRC}/configure
|
||||
CONFIGURE_SCRIPT= ../configure
|
||||
|
||||
CONFIGURE_ARGS+= --target=${TARGET}
|
||||
|
||||
#CONFIGURE_ARGS+= --program-suffix=${SUFFIX}
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
CONFIGURE_ARGS+= --disable-nls
|
||||
CONFIGURE_ARGS+= --libdir=${TARGLIB}
|
||||
CONFIGURE_ARGS+= --with-gmp=${LOCALBASE}
|
||||
CONFIGURE_ARGS+= --with-gxx-include-dir=${TARGLIB}/include/c++
|
||||
CONFIGURE_ARGS+= --with-libiconv-prefix=${LOCALBASE}
|
||||
CONFIGURE_ARGS+= --with-system-zlib
|
||||
|
||||
CONFIGURE_ARGS+= --infodir=${PREFIX}/info/${PORTNAME}
|
||||
|
||||
CONFIGURE_ARGS+= --enable-languages="${LANGUAGES}"
|
||||
CONFIGURE_ARGS+= --with-system-zlib
|
||||
CONFIGURE_ARGS+= --with-libiconv-prefix=${LOCALBASE}
|
||||
CONFIGURE_ARGS+= --program-suffix=''
|
||||
CONFIGURE_ARGS+= --program-transform-name='s&^cpp&gcpp&'
|
||||
|
||||
#CONFIGURE_ARGS+= --disable-shared
|
||||
CONFIGURE_ARGS+= --with-mpfr=${LOCALBASE}
|
||||
CONFIGURE_ARGS+= --with-gmp=${LOCALBASE}
|
||||
|
||||
CONFIGURE_ARGS+= --disable-bootstrap
|
||||
CONFIGURE_ARGS+= --disable-multilib
|
||||
CONFIGURE_ARGS+= --enable-gnu-indirect-function
|
||||
|
||||
CONFIGURE_ARGS+= --with-as=${LOCALBASE}/bin/gas
|
||||
CONFIGURE_ARGS+= --with-ld=${LOCALBASE}/bin/gld
|
||||
|
||||
MAKE_ARGS+= infodir=${PREFIX}/info/${PORTNAME}
|
||||
MAKE_ARGS+= BOOT_CFLAGS="${CFLAGS}"
|
||||
MAKE_ARGS+= CFLAGS="${CFLAGS}"
|
||||
MAKE_ARGS+= AWK=${LOCALBASE}/bin/gawk
|
||||
MAKE_ARGS+= STAGE1_CXXFLAGS="-fPIC -fbracket-depth=512"
|
||||
|
||||
PLIST_SUB+= TARGET=${CONFIGURE_TARGET}
|
||||
PLIST_SUB+= VERSION=${PORTVERSION}
|
||||
|
||||
post-extract:
|
||||
${MKDIR} ${BUILD_WRKSRC}
|
||||
|
||||
pre-configure:
|
||||
${MKDIR} ${BUILD_WRKSRC}
|
||||
${FIND} ${BUILD_WRKSRC} -name 'config.cache' -delete
|
||||
|
||||
INFO+= ${PORTNAME}/cpp
|
||||
INFO+= ${PORTNAME}/cppinternals
|
||||
INFO+= ${PORTNAME}/gcc
|
||||
INFO+= ${PORTNAME}/gccinstall
|
||||
INFO+= ${PORTNAME}/gccint
|
||||
INFO+= ${PORTNAME}/libgomp
|
||||
INFO+= ${PORTNAME}/libquadmath
|
||||
|
||||
PLIST= pkg-plist.${ARCH}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
#EOF
|
||||
3
devel/gcc92/distinfo
Normal file
3
devel/gcc92/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1568436147
|
||||
SHA256 (gnu/gcc-9.2.0.tar.xz) = ea6ef08f121239da5695f76c9b33637a118dcf63e24164422231917fa61fb206
|
||||
SIZE (gnu/gcc-9.2.0.tar.xz) = 70607648
|
||||
7
devel/gcc92/files/pkg-message.in
Normal file
7
devel/gcc92/files/pkg-message.in
Normal file
@@ -0,0 +1,7 @@
|
||||
To ensure binaries built with this toolchain find appropriate versions
|
||||
of the necessary run-time libraries, you may want to link using
|
||||
|
||||
-Wl,-rpath=%%TARGLIB%%
|
||||
|
||||
For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
|
||||
transparently.
|
||||
6
devel/gcc92/pkg-descr
Normal file
6
devel/gcc92/pkg-descr
Normal file
@@ -0,0 +1,6 @@
|
||||
The GNU Ada compiler system built from GCC 4.1.2.
|
||||
|
||||
Please add ${PREFIX}/bin/gcc41 to your PATH variable
|
||||
before using this port.
|
||||
|
||||
WWW: http://gcc.gnu.org/
|
||||
1519
devel/gcc92/pkg-plist.amd64
Normal file
1519
devel/gcc92/pkg-plist.amd64
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user