summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorjoerg <joerg>2013-12-08 22:31:53 +0000
committerjoerg <joerg>2013-12-08 22:31:53 +0000
commit1cd20f14736e14be6783e35cdd3a991d33a6a9bb (patch)
tree45fe46fbf5f87939aa0d6a8a2320e133fb36a92f /cross
parent4e85f273d46d693080d16c1ab5989d3c44d7a796 (diff)
downloadpkgsrc-1cd20f14736e14be6783e35cdd3a991d33a6a9bb.tar.gz
Don't let the installation path of libiberty.a depend on the multi-os
settings of the system compiler.
Diffstat (limited to 'cross')
-rw-r--r--cross/freemint-gcc/distinfo3
-rw-r--r--cross/freemint-gcc/patches/patch-gcc-4.6.4_libiberty_Makefile.in36
-rw-r--r--cross/nios2-binutils/distinfo3
-rw-r--r--cross/nios2-binutils/patches/patch-libiberty_Makefile.in36
4 files changed, 76 insertions, 2 deletions
diff --git a/cross/freemint-gcc/distinfo b/cross/freemint-gcc/distinfo
index e5c94281a5a..a1110b51f21 100644
--- a/cross/freemint-gcc/distinfo
+++ b/cross/freemint-gcc/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2013/09/12 14:07:18 ryoon Exp $
+$NetBSD: distinfo,v 1.2 2013/12/08 22:31:53 joerg Exp $
SHA1 (gcc-4.6.4-mint-20130415.patch.bz2) = bd2e88f2b862cc404f47144fb67375b1fe17291b
RMD160 (gcc-4.6.4-mint-20130415.patch.bz2) = d3cafafb1caa1a1eb915c5f15f4063d6a70ac4ee
@@ -15,3 +15,4 @@ Size (pml-2.03-mint-20110207.patch.bz2) = 11230 bytes
SHA1 (pml-2.03.tar.bz2) = 07b5c70a704b06e24d6a64e8b5333d98804aa178
RMD160 (pml-2.03.tar.bz2) = 60a31723cb5078a2f889757e6a02b873b444ddb7
Size (pml-2.03.tar.bz2) = 52753 bytes
+SHA1 (patch-gcc-4.6.4_libiberty_Makefile.in) = 52bec2f3a21e1ff8f8614e43cbc541d585624dda
diff --git a/cross/freemint-gcc/patches/patch-gcc-4.6.4_libiberty_Makefile.in b/cross/freemint-gcc/patches/patch-gcc-4.6.4_libiberty_Makefile.in
new file mode 100644
index 00000000000..792f5f4b18c
--- /dev/null
+++ b/cross/freemint-gcc/patches/patch-gcc-4.6.4_libiberty_Makefile.in
@@ -0,0 +1,36 @@
+$NetBSD: patch-gcc-4.6.4_libiberty_Makefile.in,v 1.1 2013/12/08 22:31:54 joerg Exp $
+
+--- gcc-4.6.4/libiberty/Makefile.in.orig 2013-12-08 17:16:03.000000000 +0000
++++ gcc-4.6.4/libiberty/Makefile.in
+@@ -349,12 +349,11 @@ install-strip: install
+ # 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`
+ install_to_libdir: all
+- ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR)
+- $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n
+- ( cd $(DESTDIR)$(libdir)/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n ;$(RANLIB) $(TARGETLIB)n )
+- mv -f $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)
++ ${mkinstalldirs} $(DESTDIR)$(libdir)
++ $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(TARGETLIB)n
++ ( cd $(DESTDIR)$(libdir) ; chmod 644 $(TARGETLIB)n ;$(RANLIB) $(TARGETLIB)n )
++ mv -f $(DESTDIR)$(libdir)/$(TARGETLIB)n $(DESTDIR)$(libdir)/$(TARGETLIB)
+ if test -n "${target_header_dir}"; then \
+ case "${target_header_dir}" in \
+ /*) thd=${target_header_dir};; \
+@@ -368,10 +367,10 @@ install_to_libdir: all
+ @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
+
+ install_to_tooldir: all
+- ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)
+- $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n
+- ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n; $(RANLIB) $(TARGETLIB)n )
+- mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)
++ ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib
++ $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(TARGETLIB)n
++ ( cd $(DESTDIR)$(tooldir)/lib ; chmod 644 $(TARGETLIB)n; $(RANLIB) $(TARGETLIB)n )
++ mv -f $(DESTDIR)$(tooldir)/lib/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(TARGETLIB)
+ @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
+
+ # required-list was used when building a shared bfd/opcodes/libiberty
diff --git a/cross/nios2-binutils/distinfo b/cross/nios2-binutils/distinfo
index 72e46458904..7e18c11aa5b 100644
--- a/cross/nios2-binutils/distinfo
+++ b/cross/nios2-binutils/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2013/11/18 06:41:27 mef Exp $
+$NetBSD: distinfo,v 1.4 2013/12/08 22:31:54 joerg Exp $
SHA1 (sourceryg++-2013.05-43-nios2-linux-gnu.src.tar.bz2) = 94a0dadc4c1370dadfacf4bc6cac591e3e47959b
RMD160 (sourceryg++-2013.05-43-nios2-linux-gnu.src.tar.bz2) = de056d240a73236d6d8be4851813d8b15d16808f
Size (sourceryg++-2013.05-43-nios2-linux-gnu.src.tar.bz2) = 251136787 bytes
+SHA1 (patch-libiberty_Makefile.in) = 1e446461751d036eec91110fa094bf4fbbfee128
diff --git a/cross/nios2-binutils/patches/patch-libiberty_Makefile.in b/cross/nios2-binutils/patches/patch-libiberty_Makefile.in
new file mode 100644
index 00000000000..99143fedc6a
--- /dev/null
+++ b/cross/nios2-binutils/patches/patch-libiberty_Makefile.in
@@ -0,0 +1,36 @@
+$NetBSD: patch-libiberty_Makefile.in,v 1.1 2013/12/08 22:31:54 joerg Exp $
+
+--- libiberty/Makefile.in.orig 2013-12-08 15:46:44.000000000 +0000
++++ libiberty/Makefile.in
+@@ -354,12 +354,11 @@ install-strip: install
+ # 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`
+ install_to_libdir: all
+- ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR)
+- $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n
+- ( cd $(DESTDIR)$(libdir)/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n ;$(RANLIB) $(TARGETLIB)n )
+- mv -f $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)
++ ${mkinstalldirs} $(DESTDIR)$(libdir)
++ $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(TARGETLIB)n
++ ( cd $(DESTDIR)$(libdir) ; chmod 644 $(TARGETLIB)n ;$(RANLIB) $(TARGETLIB)n )
++ mv -f $(DESTDIR)$(libdir)/$(TARGETLIB)n $(DESTDIR)$(libdir)/$(TARGETLIB)
+ if test -n "${target_header_dir}"; then \
+ case "${target_header_dir}" in \
+ /*) thd=${target_header_dir};; \
+@@ -373,10 +372,10 @@ install_to_libdir: all
+ @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
+
+ install_to_tooldir: all
+- ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)
+- $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n
+- ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n; $(RANLIB) $(TARGETLIB)n )
+- mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)
++ ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib
++ $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(TARGETLIB)n
++ ( cd $(DESTDIR)$(tooldir)/lib ; chmod 644 $(TARGETLIB)n; $(RANLIB) $(TARGETLIB)n )
++ mv -f $(DESTDIR)$(tooldir)/lib/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(TARGETLIB)
+ @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
+
+ # required-list was used when building a shared bfd/opcodes/libiberty