mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
devel/gnulibiberty: Upgrade to 2.37
Unfortunately, we need a patch now as their Makefile relies on GCC's -print-multi-os-directory switch.
This commit is contained in:
parent
89b06d7a08
commit
076cd16c61
@ -1,7 +1,7 @@
|
||||
# Created by: Joerg Wunsch <joerg@FreeBSD.org>
|
||||
|
||||
PORTNAME= gnulibiberty
|
||||
PORTVERSION= 2.33.1
|
||||
PORTVERSION= 2.37
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= SOURCEWARE/binutils/releases
|
||||
DISTNAME= binutils-${PORTVERSION}
|
||||
@ -13,7 +13,7 @@ WRKSRC= ${WRKDIR}/binutils-${PORTVERSION}/libiberty
|
||||
|
||||
USES= gmake tar:xz
|
||||
|
||||
CONFIGURE_ARGS= --enable-install-libiberty
|
||||
CONFIGURE_ARGS= --enable-install-libiberty --disable-multilib
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1575361927
|
||||
SHA256 (binutils-2.33.1.tar.xz) = ab66fc2d1c3ec0359b8e08843c9f33b63e8707efdff5e4cc5c200eae24722cbf
|
||||
SIZE (binutils-2.33.1.tar.xz) = 21490848
|
||||
TIMESTAMP = 1626719973
|
||||
SHA256 (binutils-2.37.tar.xz) = 820d9724f020a3e69cb337893a0b63c2db161dadcb0e06fc11dc29eb1e84a32c
|
||||
SIZE (binutils-2.37.tar.xz) = 22916924
|
||||
|
14
devel/gnulibiberty/files/patch-libiberty-Makefile.in
Normal file
14
devel/gnulibiberty/files/patch-libiberty-Makefile.in
Normal file
@ -0,0 +1,14 @@
|
||||
--- Makefile.in~ 2021-07-08 13:37:21.000000000 +0200
|
||||
+++ Makefile.in 2021-12-21 10:13:14.973574000 +0100
|
||||
@@ -367,7 +367,10 @@
|
||||
# multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
|
||||
# default multilib, so we have to take CFLAGS into account as well,
|
||||
# since it will be passed the multilib flags.
|
||||
-MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory`
|
||||
+#
|
||||
+# XXX Clang does not support -print-multi-os-directory
|
||||
+MULTIOSDIR = .
|
||||
+#MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory`
|
||||
install_to_libdir: all
|
||||
if test -n "${target_header_dir}"; then \
|
||||
${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR); \
|
Loading…
Reference in New Issue
Block a user