FreeBSD Bugzilla – Attachment 240784 Details for
Bug 270146
devel/binutils: Build and install shared libraries
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
binutils.patch (text/plain), 2.03 KB, created by
Yuri Victorovich
on 2023-03-12 07:33:26 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2023-03-12 07:33:26 UTC
Size:
2.03 KB
patch
obsolete
>diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile >index 8b8f9a3c200d..c31c61d36159 100644 >--- a/devel/binutils/Makefile >+++ b/devel/binutils/Makefile >@@ -1,6 +1,6 @@ > PORTNAME= binutils > DISTVERSION= 2.40 >-PORTREVISION= 1 >+PORTREVISION= 2 > PORTEPOCH?= 1 > CATEGORIES?= devel > MASTER_SITES= SOURCEWARE/binutils/releases >@@ -35,7 +35,8 @@ CONFIGURE_ARGS+= --disable-werror \ > --with-sysroot=/ \ > --enable-x86-relax-relocations=no \ > --with-zstd \ >- --enable-default-compressed-debug-sections-algorithm=zstd >+ --enable-default-compressed-debug-sections-algorithm=zstd \ >+ --enable-shared > MAKE_ARGS+= LIBDL="" V=1 > MAKE_ENV+= ac_cv_func_sbrk=0 > >@@ -82,8 +83,7 @@ BUTARGET= x86_64-unknown-${OPSYS:tl}${OSREL} > USES+= iconv > .endif > >-CONFIGURE_ARGS+= --disable-shared \ >- --target=${BUTARGET} >+CONFIGURE_ARGS+= --target=${BUTARGET} > .endif > > .if ${FLAVOR} == native >@@ -145,6 +145,9 @@ post-patch: > ${RM} ${WRKSRC}/ld/*.1 > > post-install: >+ @${STRIP_CMD} \ >+ ${STAGEDIR}${PREFIX}/lib/lib*.so* \ >+ ${STAGEDIR}${PREFIX}/lib/bfd-plugins/libdep.so > .if ${FLAVOR} == native > ${INSTALL_DATA} ${WRKSRC}/include/plugin-api.h ${STAGEDIR}${PREFIX}/include/ > @${FIND} -ds ${STAGEDIR}${PREFIX}/${CONFIGURE_TARGET} ! -type d | \ >diff --git a/devel/binutils/pkg-plist b/devel/binutils/pkg-plist >index 100532991306..50995f5ac922 100644 >--- a/devel/binutils/pkg-plist >+++ b/devel/binutils/pkg-plist >@@ -28,17 +28,30 @@ include/sframe-api.h > include/sframe.h > include/symcat.h > lib/bfd-plugins/libdep.so >+lib/libbfd-2.40.so > lib/libbfd.a >+lib/libbfd.so > lib/libctf-nobfd.a >+lib/libctf-nobfd.so >+lib/libctf-nobfd.so.0 >+lib/libctf-nobfd.so.0.0.0 > lib/libctf.a >+lib/libctf.so >+lib/libctf.so.0 >+lib/libctf.so.0.0.0 >+lib/libopcodes-2.40.so > lib/libopcodes.a >+lib/libopcodes.so > lib/libsframe.a >+lib/libsframe.so >+lib/libsframe.so.0 >+lib/libsframe.so.0.0.0 > man/man1/addr2line.1.gz > man/man1/ar.1.gz > man/man1/as.1.gz > man/man1/c++filt.1.gz >-man/man1/gprof.1.gz > man/man1/elfedit.1.gz >+man/man1/gprof.1.gz > man/man1/ld.1.gz > man/man1/nm.1.gz > man/man1/objcopy.1.gz
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 270146
: 240784 |
240803