diff options
author | sevan <sevan@pkgsrc.org> | 2017-02-01 03:00:35 +0000 |
---|---|---|
committer | sevan <sevan@pkgsrc.org> | 2017-02-01 03:00:35 +0000 |
commit | 76ef96eb441f1309bcb77f4c330064e8a93d2413 (patch) | |
tree | a15cf23a8a9bc905a716ded431500e06cbe79c1a /mk | |
parent | e09223f31000a41ae60a6948ac5ed3b997d2e416 (diff) | |
download | pkgsrc-76ef96eb441f1309bcb77f4c330064e8a93d2413.tar.gz |
Add ppc64le paths from the Debian/Ubuntu multiarch hierarchy.
Tested on Ubuntu for POWER8.
Thanks to John Klos.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/platform/Linux.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/platform/Linux.mk b/mk/platform/Linux.mk index 26bfca9aa4d..d0750b7554b 100644 --- a/mk/platform/Linux.mk +++ b/mk/platform/Linux.mk @@ -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 @@ LIBABISUFFIX?= /aarch64-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 +.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} |