summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authormef <mef>2013-12-31 00:48:48 +0000
committermef <mef>2013-12-31 00:48:48 +0000
commit85a88561f44e08ed7b0f2d76bb5b1d3193d5c412 (patch)
tree2855d8c7145b72d4da578392da702d54d0072b16 /cross
parent623d0bdddf64900b94c56bcf599bd20ab2a9b419 (diff)
downloadpkgsrc-85a88561f44e08ed7b0f2d76bb5b1d3193d5c412.tar.gz
Adjust install path for SunOS 5.1 ( it places at amd64 directory instead of xf86_64).
Should not affect other than SunOS 5.1 (64bit). Discussed on pkgsrc-bulk@, thanks joerg@.
Diffstat (limited to 'cross')
-rw-r--r--cross/avr-binutils/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/cross/avr-binutils/Makefile b/cross/avr-binutils/Makefile
index be6984ed12a..002f5d50438 100644
--- a/cross/avr-binutils/Makefile
+++ b/cross/avr-binutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2013/11/19 23:06:24 dsainty Exp $
+# $NetBSD: Makefile,v 1.22 2013/12/31 00:48:48 mef Exp $
DISTNAME= binutils-2.23.2
PKGNAME= ${DISTNAME:S/^/avr-/}
@@ -47,8 +47,9 @@ post-install:
)
# Rename to avoid conflict to native and other cross assembler.
# and clang differs its path so, (the same as h8300-elf-binutils).
+ # (SunOS 5.1 places at amd64 instead of x86_64)
(cd ${DESTDIR}${PREFIX}; \
- for d in ${MACHINE_ARCH}/libiberty.a libiberty.a; \
+ for d in amd64/libiberty.a ${MACHINE_ARCH}/libiberty.a libiberty.a; \
do if [ -f lib/$$d ]; then \
${MV} lib/$$d avr/lib/libiberty.a; \
break; \