summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2013-12-31 00:48:48 +0000
committermef <mef@pkgsrc.org>2013-12-31 00:48:48 +0000
commit994b9ff43700bbe87ef976c82cb206da73fa161f (patch)
tree2855d8c7145b72d4da578392da702d54d0072b16 /cross
parent1a59493d6734a3ebafc179769e94e9109c470295 (diff)
downloadpkgsrc-994b9ff43700bbe87ef976c82cb206da73fa161f.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; \