summaryrefslogtreecommitdiff
path: root/cross/mingw-binutils/patches
diff options
context:
space:
mode:
authorasau <asau>2010-06-24 20:06:28 +0000
committerasau <asau>2010-06-24 20:06:28 +0000
commitd335052107b051a1e7c0209dacf12d27b2c31a23 (patch)
treeed603deb6dcda22d273eb560b5c1a9d56a77b6c4 /cross/mingw-binutils/patches
parentbf78219046a22583ec5a50e27654b07ab986d447 (diff)
downloadpkgsrc-d335052107b051a1e7c0209dacf12d27b2c31a23.tar.gz
Don't install libiberty library archive to avoid conflict with mingw-gcc package.
Bump package revision.
Diffstat (limited to 'cross/mingw-binutils/patches')
-rw-r--r--cross/mingw-binutils/patches/patch-ab30
1 files changed, 30 insertions, 0 deletions
diff --git a/cross/mingw-binutils/patches/patch-ab b/cross/mingw-binutils/patches/patch-ab
new file mode 100644
index 00000000000..70a9ba2c404
--- /dev/null
+++ b/cross/mingw-binutils/patches/patch-ab
@@ -0,0 +1,30 @@
+Don't install libiberty.a
+
+--- libiberty/Makefile.in.orig 2007-08-06 23:59:45.000000000 +0400
++++ libiberty/Makefile.in 2010-06-24 23:27:18.000000000 +0400
+@@ -353,9 +353,9 @@
+ MULTIOSDIR = `$(CC) $(LIBCFLAGS) -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)
++# $(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)
+ if test -n "${target_header_dir}"; then \
+ case "${target_header_dir}" in \
+ /*) thd=${target_header_dir};; \
+@@ -370,9 +370,9 @@
+
+ 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)
++# $(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)
+ @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
+
+ # needed-list is used by libstdc++. NEEDED is the list of functions