pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/openjdk8 Provide library paths to allow linking a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/62c383783cba
branches:  trunk
changeset: 366126:62c383783cba
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Thu Aug 03 12:34:03 2017 +0000

description:
Provide library paths to allow linking against libjvm. From William
Welliver in PR pkg/52453.

diffstat:

 lang/openjdk8/buildlink3.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 0893424d43a0 -r 62c383783cba lang/openjdk8/buildlink3.mk
--- a/lang/openjdk8/buildlink3.mk       Thu Aug 03 12:31:22 2017 +0000
+++ b/lang/openjdk8/buildlink3.mk       Thu Aug 03 12:34:03 2017 +0000
@@ -1,10 +1,14 @@
-# $NetBSD: buildlink3.mk,v 1.2 2015/02/08 17:48:33 tnn Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2017/08/03 12:34:03 bsiegert Exp $
 
 BUILDLINK_TREE+=       openjdk8
 
 .if !defined(OPENJDK8_BUILDLINK3_MK)
 OPENJDK8_BUILDLINK3_MK:=
 
+LIBDIR_ARCH=   ${MACHINE_ARCH:S/x86_64/amd64/:S/sparc64/sparcv9/:C/^e?arm.*$/arm/}
+BUILDLINK_LIBDIRS.openjdk8+=   java/openjdk8/jre/lib/${LIBDIR_ARCH}/server
+BUILDLINK_LIBDIRS.openjdk8+=   java/openjdk8/jre/lib/${LIBDIR_ARCH}
+
 BUILDLINK_API_DEPENDS.openjdk8+=       openjdk8>=1.8.0
 BUILDLINK_PKGSRCDIR.openjdk8?=         ../../lang/openjdk8
 



Home | Main Index | Thread Index | Old Index