From owner-freebsd-java@freebsd.org Mon Oct 23 05:50:04 2017 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 11D9CE414B9 for ; Mon, 23 Oct 2017 05:50:04 +0000 (UTC) (envelope-from prvs=04699e7345=ari@ish.com.au) Received: from fish.ish.com.au (ip-2.ish.com.au [203.29.62.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D108B3787 for ; Mon, 23 Oct 2017 05:50:03 +0000 (UTC) (envelope-from prvs=04699e7345=ari@ish.com.au) Received: from ip-170.ish.com.au ([203.29.62.170]:55406) by fish.ish.com.au with esmtpsa (TLSv1.2:AES128-SHA:128) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1e6VZw-0006bR-3C for freebsd-java@freebsd.org; Mon, 23 Oct 2017 16:47:13 +1100 X-CTCH-RefID: str=0001.0A150206.59ED8261.0032:SCFSTAT42589845, ss=1, re=-4.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 To: freebsd-java@freebsd.org From: Aristedes Maniatis Subject: port dependency on JRE and not JDK Message-ID: <3434c08d-d46f-91a9-324c-a60a37471071@ish.com.au> Date: Mon, 23 Oct 2017 16:47:12 +1100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Thunderbird/56.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-AU Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Oct 2017 05:50:04 -0000 I'm having a little trouble understanding bsd.java.mk. It would appear that the combination of: NO_BUILD= yes USE_JAVA= yes JAVA_VERSION= 1.8+ Should give me a dependency on java/openjdk8-jre rather than java/openjdk8 but that's not happening. Am I doing something wrong or is this a limitation of the ports infrastructure? Putting JAVA_PORT=java/openjdk8-jre into make.conf didn't help either. I'm trying to create jails for distribution of an app, so keeping it as small as possible is important and I only need the JRE. Cheers Ari -- --------------------------> Aristedes Maniatis CEO, ish https://www.ish.com.au GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A