Skip to content

Commit

Permalink
devel/linux-c7-devtoolset: Add the port.
Browse files Browse the repository at this point in the history
Reviewed by: tijl

Differential Revision: https://reviews.freebsd.org/D41988
  • Loading branch information
arrowd committed Sep 30, 2023
1 parent 5fa4269 commit 9d8ed55
Show file tree
Hide file tree
Showing 5 changed files with 1,446 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -1461,6 +1461,7 @@
SUBDIR += linenoise-ng
SUBDIR += linux-c7-dbus-libs
SUBDIR += linux-c7-devtools
SUBDIR += linux-c7-devtoolset
SUBDIR += linux-c7-elfutils-libelf
SUBDIR += linux-c7-elfutils-libs
SUBDIR += linux-c7-icu
Expand Down
35 changes: 35 additions & 0 deletions devel/linux-c7-devtoolset/Makefile
@@ -0,0 +1,35 @@
PORTNAME= devtoolset
PORTVERSION= 11.1
DISTVERSIONPREFIX= 11-
DISTVERSIONSUFFIX= -2.el7
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_CENTOS_LINUX}
MASTER_SITE_SUBDIR= altarch/7/sclo/aarch64/rh/Packages/d/:DEFAULT,aarch64 \
centos/7/sclo/x86_64/rh/Packages/d/:DEFAULT,amd64 \
altarch/7/sclo/i386/rh/Packages/d/:DEFAULT,i386 \
centos/7/sclo/Source/rh/:SOURCE

MAINTAINER= emulation@FreeBSD.org
COMMENT= Developer Toolset collection (CentOS ${LINUX_DIST_VER})
WWW= https://gcc.gnu.org/

ONLY_FOR_ARCHS= amd64

USES= linux:c7
USE_LINUX= devtools
USE_LINUX_RPM= yes
USE_LDCONFIG= yes

BIN_DISTNAMES= ${PORTNAME}-${DISTVERSIONPREFIX}binutils-2.36.1-1.el7.2 \
${PORTNAME}-${DISTVERSIONPREFIX}gcc-11.2.1-9.1.el7 \
${PORTNAME}-${DISTVERSIONPREFIX}gcc-c++-11.2.1-9.1.el7 \
${PORTNAME}-${DISTVERSIONPREFIX}gcc-gfortran-11.2.1-9.1.el7 \
${PORTNAME}-${DISTVERSIONPREFIX}libstdc++-devel-11.2.1-9.1.el7 \
${PORTNAME}-${DISTVERSIONPREFIX}toolchain-11.1-2.el7
SRC_DISTFILES= ${PORTNAME}-${DISTVERSIONPREFIX}binutils-2.36.1-1.el7.2${SRC_SUFX}:SOURCE \
${PORTNAME}-${DISTVERSIONPREFIX}gcc-11.2.1-9.1.el7${SRC_SUFX}:SOURCE

post-install:
${FIND} ${STAGEDIR} -name '*la' -delete

.include <bsd.port.mk>
19 changes: 19 additions & 0 deletions devel/linux-c7-devtoolset/distinfo
@@ -0,0 +1,19 @@
TIMESTAMP = 1695741839
SHA256 (centos/devtoolset-11-11.1-2.el7.x86_64.rpm) = 77b6c157d4194dc0407b268ced2d05628a18f424ab1347409ced225769976fe4
SIZE (centos/devtoolset-11-11.1-2.el7.x86_64.rpm) = 5824
SHA256 (centos/devtoolset-11-binutils-2.36.1-1.el7.2.x86_64.rpm) = dde2f4b967e4a379caf1c38f756029799d610d8911f0c13b1f4f94a5d7a93561
SIZE (centos/devtoolset-11-binutils-2.36.1-1.el7.2.x86_64.rpm) = 6607544
SHA256 (centos/devtoolset-11-gcc-11.2.1-9.1.el7.x86_64.rpm) = 7049c0fdcee4412cf0e2570e2ed90e4879019aa58b9c7d1112e85260ead0ec30
SIZE (centos/devtoolset-11-gcc-11.2.1-9.1.el7.x86_64.rpm) = 33873528
SHA256 (centos/devtoolset-11-gcc-c++-11.2.1-9.1.el7.x86_64.rpm) = adbf4b0743fa1227da7d93ef8236e20aa7ea5bda67965baadf782095bfee540f
SIZE (centos/devtoolset-11-gcc-c++-11.2.1-9.1.el7.x86_64.rpm) = 13074660
SHA256 (centos/devtoolset-11-gcc-gfortran-11.2.1-9.1.el7.x86_64.rpm) = 371570703fc22bded436d44f08673c87bcc1a23ed7931b8f4327bf3c2a587fb8
SIZE (centos/devtoolset-11-gcc-gfortran-11.2.1-9.1.el7.x86_64.rpm) = 13739556
SHA256 (centos/devtoolset-11-libstdc++-devel-11.2.1-9.1.el7.x86_64.rpm) = b42d3c7ff9f4da0f7fedd354051b002fe68dbb56dc59c713c61bdf92773b3d9c
SIZE (centos/devtoolset-11-libstdc++-devel-11.2.1-9.1.el7.x86_64.rpm) = 3739824
SHA256 (centos/devtoolset-11-toolchain-11.1-2.el7.x86_64.rpm) = b75c832df437a9323eab6f43ab0fa905dc3dd05d70a28f8e1c1da3929112b64a
SIZE (centos/devtoolset-11-toolchain-11.1-2.el7.x86_64.rpm) = 3404
SHA256 (centos/devtoolset-11-binutils-2.36.1-1.el7.2.src.rpm) = b8bd30b513d413b5d23b03fc10133871588b792d50bf3ad18cade896dc720eb8
SIZE (centos/devtoolset-11-binutils-2.36.1-1.el7.2.src.rpm) = 22942949
SHA256 (centos/devtoolset-11-gcc-11.2.1-9.1.el7.src.rpm) = 55b0bc4c08091bb12bc17ba779ab7ed1bd981ef7cc1138c1ec75887e10a2ae6c
SIZE (centos/devtoolset-11-gcc-11.2.1-9.1.el7.src.rpm) = 91647084
4 changes: 4 additions & 0 deletions devel/linux-c7-devtoolset/pkg-descr
@@ -0,0 +1,4 @@
Developer Toolset is a Software Collection designed for developers working on
CentOS or Red Hat Enterprise Linux platform. It provides current versions of the
GNU Compiler Collection, GNU Debugger, and other development, debugging, and
performance monitoring tools.

0 comments on commit 9d8ed55

Please sign in to comment.