summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2013-12-31 00:55:14 +0000
committermef <mef@pkgsrc.org>2013-12-31 00:55:14 +0000
commitedb36b1146fd04c4f4eff1f0acc44782486ac554 (patch)
treec8621c2191f259d697a4212f563df23ec97444b1 /cross
parent994b9ff43700bbe87ef976c82cb206da73fa161f (diff)
downloadpkgsrc-edb36b1146fd04c4f4eff1f0acc44782486ac554.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')
-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; \