From owner-freebsd-java@freebsd.org Mon Mar 6 19:07:35 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 A8A57CFCA7E for ; Mon, 6 Mar 2017 19:07:35 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 980FD1FA6 for ; Mon, 6 Mar 2017 19:07:35 +0000 (UTC) (envelope-from lists@opsec.eu) Received: by mailman.ysv.freebsd.org (Postfix) id 977E6CFCA7C; Mon, 6 Mar 2017 19:07:35 +0000 (UTC) Delivered-To: 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 9715FCFCA7B; Mon, 6 Mar 2017 19:07:35 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (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 5BC5C1FA5; Mon, 6 Mar 2017 19:07:35 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from pi by home.opsec.eu with local (Exim 4.87 (FreeBSD)) (envelope-from ) id 1ckxyr-000Hw0-Bo; Mon, 06 Mar 2017 20:07:37 +0100 Date: Mon, 6 Mar 2017 20:07:37 +0100 From: Kurt Jaeger To: =?iso-8859-1?Q?Dr=2E_Jochen_Ra=DFler?= Cc: java@FreeBSD.org, ports@FreeBSD.org Subject: Re: openjfx8-devel future question Message-ID: <20170306190737.GR13006@home.opsec.eu> References: <6f550c7d-5228-58fd-4a5c-e3142819331b@googlemail.com> <20170306175540.GQ13006@home.opsec.eu> <2f6cc49f-a878-5567-7c46-6411893d3cb5@googlemail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2f6cc49f-a878-5567-7c46-6411893d3cb5@googlemail.com> 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, 06 Mar 2017 19:07:35 -0000 Hi! > I'm quite new to FreeBSD on the one hand an the gradle build tool on the > other hand. (And gradle is what is used by openjfx) > > What I understood currently is that gradle downloads the dependencies > only for building the package. To run a application, the dependencies > have to be installed, So the dependencies have to be defined as RUN_DEPENDS in the port Makefile. > otherwise the application will crash with some > exceptions (in case of Java). So there seems to be a difference between > FreeBSD ports and dependencies to the build process. The ports system knows different types of dependencies (LIB_, RUN_, BUILD_ etc) > Why does the ports system not build and install the dependencies firstly > and use those installed packages for the further build process? Depends on the port -- sometimes the port maintainer did not specify all the dependencies in a proper manner. Sometimes, some dependencies are not needed in every use case, so they are marked optional. There are many different reasons how this can be resolved. -- pi@opsec.eu +49 171 3101372 3 years to go !