pkgsrc-Bulk archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc-upstream-trunk64 SunOS 5.11/x86_64 2013-12-25 20:25



> cross/h8300-elf-binutils                   1 ryoon%NetBSD.org@localhost
PLIST
   .destdir/opt/local/cross-h8300-elf/lib/libiberty_binutils.a
But reallity is:
   .destdir/opt/local/cross-h8300-elf/lib/amd64/libiberty.a

Let me commit this and previous cross/avr-binutils patch
Thanks,
---
Makoto Fujiwara, 
Chiba, Japan, Narita Airport and Disneyland prefecture.

Index: cross/h8300-elf-binutils/Makefile
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/cross/h8300-elf-binutils/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- cross/h8300-elf-binutils/Makefile   16 Jun 2013 20:33:17 -0000      1.3
+++ cross/h8300-elf-binutils/Makefile   27 Dec 2013 01:28:53 -0000
@@ -44,8 +44,8 @@
                  ${DESTDIR}${PREFIX}/bin/"$$f" || exit 1; \
        done
 # copy libiberty.a under the different name from compiler
-# PATH differs between clang and gcc:
-       for d in ${MACHINE_ARCH}/libiberty.a libiberty.a; do \
+# PATH differs between clang and gcc: (and SunOS 5.1 places at amd64 instead 
of x86_64)
+       for d in amd64/libiberty.a ${MACHINE_ARCH}/libiberty.a libiberty.a; do \
                if [ -f ${DESTDIR}${H8300_PREFIX}/lib/$$d ]; then \
                        ${MV} ${DESTDIR}${H8300_PREFIX}/lib/$$d \
                              
${DESTDIR}${H8300_PREFIX}/lib/libiberty_binutils.a; \


Home | Main Index | Thread Index | Old Index