summaryrefslogtreecommitdiff
path: root/cross/h8300-elf-binutils
diff options
context:
space:
mode:
authormef <mef>2013-12-31 00:55:14 +0000
committermef <mef>2013-12-31 00:55:14 +0000
commit8008e30fb324a254fb5d4b9e38fb6960f8c4b8bf (patch)
treec8621c2191f259d697a4212f563df23ec97444b1 /cross/h8300-elf-binutils
parent368589c16a80a5db6f2e3178272a9e3811e12321 (diff)
downloadpkgsrc-8008e30fb324a254fb5d4b9e38fb6960f8c4b8bf.tar.gz
Adjust install path for libiberty.a for SunOS 5.11.
It installs at amd64 directory instead of x86_64. Notified at pkgsrc-bulk@, thanks.
Diffstat (limited to 'cross/h8300-elf-binutils')
-rw-r--r--cross/h8300-elf-binutils/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/cross/h8300-elf-binutils/Makefile b/cross/h8300-elf-binutils/Makefile
index 31925232633..bb23e17659a 100644
--- a/cross/h8300-elf-binutils/Makefile
+++ b/cross/h8300-elf-binutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2013/06/16 20:33:17 mef Exp $
+# $NetBSD: Makefile,v 1.4 2013/12/31 00:55:14 mef Exp $
DISTNAME= binutils-2.19.1
PKGNAME= cross-h8300-elf-${DISTNAME}
@@ -44,8 +44,8 @@ post-install:
${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.11 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; \