pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/platform Set LIBABISUFFIX correctly on SunOS/sparc6...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/283057f5532d
branches:  trunk
changeset: 364115:283057f5532d
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Jun 21 08:20:10 2017 +0000

description:
Set LIBABISUFFIX correctly on SunOS/sparc64.  Tested by J?rn Clausen as
part of PR#52250.

diffstat:

 mk/platform/SunOS.mk |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r ccd23bdb53b1 -r 283057f5532d mk/platform/SunOS.mk
--- a/mk/platform/SunOS.mk      Wed Jun 21 07:24:06 2017 +0000
+++ b/mk/platform/SunOS.mk      Wed Jun 21 08:20:10 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: SunOS.mk,v 1.75 2017/05/08 17:34:15 jperkin Exp $
+# $NetBSD: SunOS.mk,v 1.76 2017/06/21 08:20:10 jperkin Exp $
 #
 # Variable definitions for the SunOS/Solaris operating system.
 
@@ -113,9 +113,9 @@
 
 PKG_TOOLS_BIN?=                ${LOCALBASE}/sbin
 
-.if ${MACHINE_ARCH} == "x86_64"
-LIBABISUFFIX=          /amd64
-.endif
+LIBABISUFFIX.sparc64=  /sparcv9
+LIBABISUFFIX.x86_64=   /amd64
+LIBABISUFFIX?=         ${LIBABISUFFIX.${MACHINE_ARCH}}
 _OPSYS_SYSTEM_RPATH?=  /lib${LIBABISUFFIX}:/usr/lib${LIBABISUFFIX}
 _OPSYS_LIB_DIRS?=      /lib${LIBABISUFFIX} /usr/lib${LIBABISUFFIX}
 _OPSYS_INCLUDE_DIRS?=  /usr/include



Home | Main Index | Thread Index | Old Index