git: d6aeb41a11ee - main - devel/linux-rl9-devtools: install missed symlinks for build tools
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 15 Nov 2024 01:13:00 UTC
The branch main has been updated by fluffy: URL: https://cgit.FreeBSD.org/ports/commit/?id=d6aeb41a11ee565b5ae887d802865ef834e24d2f commit d6aeb41a11ee565b5ae887d802865ef834e24d2f Author: Dima Panov <fluffy@FreeBSD.org> AuthorDate: 2024-11-15 00:59:16 +0000 Commit: Dima Panov <fluffy@FreeBSD.org> CommitDate: 2024-11-15 00:59:16 +0000 devel/linux-rl9-devtools: install missed symlinks for build tools while here, add libsigsegv to dependencies (for grep/coreutills) Sponsored by: Future Crew, LLC --- devel/linux-rl9-devtools/Makefile | 22 ++++++++++++++++++++-- devel/linux-rl9-devtools/pkg-plist.aarch64 | 1 + devel/linux-rl9-devtools/pkg-plist.amd64 | 2 ++ 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/devel/linux-rl9-devtools/Makefile b/devel/linux-rl9-devtools/Makefile index 4cdd9db7ed30..70c40c6ba1af 100644 --- a/devel/linux-rl9-devtools/Makefile +++ b/devel/linux-rl9-devtools/Makefile @@ -1,6 +1,6 @@ PORTNAME= devtools PORTVERSION= ${LINUX_DIST_VER} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel MAINTAINER= emulation@FreeBSD.org @@ -11,7 +11,7 @@ WWW= https://gcc.gnu.org/ USES= linux:rl9 USE_LDCONFIG= yes -USE_LINUX= libgfortran +USE_LINUX= libgfortran libsigsegv USE_LINUX_RPM= yes WANT_LINUX32= yes @@ -62,4 +62,22 @@ PLIST_SUB= BUVERSION=${BUVERSION} \ MPFRVERSION=${MPFRVERSION} \ LIBMPCVERSION=${LIBMPCVERSION} +.include <bsd.port.options.mk> + +post-install: + ${LN} -sf ld.bfd ${STAGEDIR}${PREFIX}/usr/bin/ld +.if ${ARCH} == aarch64 + ${LN} -sfh ../../../../lib64/libgcc_s.so.1 \ + ${STAGEDIR}${PREFIX}/usr/lib/gcc/aarch64-redhat-linux/11/libgcc_s.so +.elif ${ARCH} == amd64 + ${LN} -sfh ../../../../lib64/libgcc_s.so.1 \ + ${STAGEDIR}${PREFIX}/usr/lib/gcc/x86_64-redhat-linux/11/libgcc_s.so + ${LN} -sfh ../../../../libgcc_s.so.1 \ + ${STAGEDIR}${PREFIX}/usr/lib/gcc/x86_64-redhat-linux/11/32/libgcc_s.so +. if defined(WANT_LINUX32) + ${LN} -sfh ../../../libgcc_s.so.1 \ + ${STAGEDIR}${PREFIX}/usr/lib/gcc/i686-redhat-linux/11/libgcc_s.so +. endif +.endif + .include <bsd.port.mk> diff --git a/devel/linux-rl9-devtools/pkg-plist.aarch64 b/devel/linux-rl9-devtools/pkg-plist.aarch64 index c7902891a329..43fa7c97d7e8 100644 --- a/devel/linux-rl9-devtools/pkg-plist.aarch64 +++ b/devel/linux-rl9-devtools/pkg-plist.aarch64 @@ -24,6 +24,7 @@ usr/bin/gcov-dump usr/bin/gcov-tool usr/bin/gfortran usr/bin/gprof +usr/bin/ld usr/bin/ld.bfd usr/bin/lto-dump usr/bin/nm diff --git a/devel/linux-rl9-devtools/pkg-plist.amd64 b/devel/linux-rl9-devtools/pkg-plist.amd64 index 9f07e5b64043..0454ac80a31f 100644 --- a/devel/linux-rl9-devtools/pkg-plist.amd64 +++ b/devel/linux-rl9-devtools/pkg-plist.amd64 @@ -20,6 +20,7 @@ usr/bin/gcov-dump usr/bin/gcov-tool usr/bin/gfortran usr/bin/gprof +usr/bin/ld usr/bin/ld.bfd usr/bin/lto-dump usr/bin/nm @@ -2459,6 +2460,7 @@ usr/lib/cpp usr/lib/crt1.o usr/lib/crti.o usr/lib/crtn.o +usr/lib/gcc/i686-redhat-linux/11/libgcc_s.so usr/lib/gcc/i686-redhat-linux/11/libstdc++.so usr/lib/gcc/i686-redhat-linux/11/libstdc++fs.a usr/lib/gcc/x86_64-redhat-linux/11/32/crtbegin.o