pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/platform Add ppc64le paths from the Debian/Ubuntu m...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/744ca50e36d2
branches:  trunk
changeset: 357910:744ca50e36d2
user:      sevan <sevan%pkgsrc.org@localhost>
date:      Wed Feb 01 03:00:35 2017 +0000

description:
Add ppc64le paths from the Debian/Ubuntu multiarch hierarchy.
Tested on Ubuntu for POWER8.
Thanks to John Klos.

diffstat:

 mk/platform/Linux.mk |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 76d79bd0c22c -r 744ca50e36d2 mk/platform/Linux.mk
--- a/mk/platform/Linux.mk      Wed Feb 01 01:58:52 2017 +0000
+++ b/mk/platform/Linux.mk      Wed Feb 01 03:00:35 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Linux.mk,v 1.69 2016/10/27 10:31:06 jperkin Exp $
+# $NetBSD: Linux.mk,v 1.70 2017/02/01 03:00:35 sevan Exp $
 #
 # Variable definitions for the Linux operating system.
 
@@ -72,6 +72,11 @@
 _OPSYS_SYSTEM_RPATH=   /lib:/usr/lib:/lib${LIBABISUFFIX}:/usr/lib${LIBABISUFFIX}
 _OPSYS_LIB_DIRS?=      /lib /usr/lib /lib${LIBABISUFFIX} /usr/lib${LIBABISUFFIX}
 .endif
+.if !empty(MACHINE_ARCH:Mppc64le)
+LIBABISUFFIX?=         /powerpc64le-linux-gnu
+_OPSYS_SYSTEM_RPATH=   /lib:/usr/lib:/lib${LIBABISUFFIX}:/usr/lib${LIBABISUFFIX}
+_OPSYS_LIB_DIRS?=      /lib /usr/lib /lib${LIBABISUFFIX} /usr/lib${LIBABISUFFIX}
+.endif
 .else
 _OPSYS_SYSTEM_RPATH=   /lib${LIBABISUFFIX}:/usr/lib${LIBABISUFFIX}
 _OPSYS_LIB_DIRS?=      /lib${LIBABISUFFIX} /usr/lib${LIBABISUFFIX}



Home | Main Index | Thread Index | Old Index