From owner-freebsd-ports Sat Jun 30 8:41:53 2001 Delivered-To: freebsd-ports@freebsd.org Received: from gatesrv.RZ.UniBw-Muenchen.de (gatesrv.RZ.UniBw-Muenchen.de [137.193.11.27]) by hub.freebsd.org (Postfix) with ESMTP id 306DE37B647 for ; Sat, 30 Jun 2001 08:19:19 -0700 (PDT) (envelope-from lizard@gaia.informatik.unibw-muenchen.de) Received: from gaia.informatik.unibw-muenchen.de (gaia.Informatik.UniBw-Muenchen.de [137.193.60.64]) by gatesrv.RZ.UniBw-Muenchen.de (8.11.2/8.11.2) with ESMTP id f5Q8mGP12454 for ; Tue, 26 Jun 2001 10:48:17 +0200 (MEST) Received: from localhost (localhost [127.0.0.1]) by gaia.informatik.unibw-muenchen.de (Postfix) with ESMTP id A77E7115232 for ; Tue, 26 Jun 2001 10:47:58 +0200 (CEST) Received: by gaia.informatik.unibw-muenchen.de (Postfix, from userid 1001) id 80E491151BB; Tue, 26 Jun 2001 10:46:52 +0200 (CEST) Date: Tue, 26 Jun 2001 10:46:51 +0200 From: Oliver Braun To: ports@freebsd.org Subject: Re: Question: Porting nhc98 Message-ID: <20010626104651.A90015@gaia.informatik.unibw-muenchen.de> References: <20010620095612.A67444@gaia.informatik.unibw-muenchen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010620095612.A67444@gaia.informatik.unibw-muenchen.de>; from obraun@informatik.unibw-muenchen.de on Wed, Jun 20, 2001 at 09:56:12AM +0200 Organization: University of the Federal Armed Forces Munich, Germany X-OS: FreeBSD 4.3-STABLE i386 X-Editor: Vim-600 http://www.vim.org/ X-Virus-Scanned: by AMaViS perl-10 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Is there nobody on that list, who wants to give me a reply? Am I doing something wrong? Regards, Olli * Oliver Braun : > Hi *, > > currently I am going to try to build an nhc98 port > . nhc98 is a compiler for > Haskell 98. Before submitting the port I have some questions, about > "good style" porting. > > nhc98 comes with an tracer. The default target will install nhc98 with > the tracer. I think you do not need the tracer for all day work, but > for installing the tracer, you need JAVA. So my first idea is to add > > RUN_DEPENDS= java:${PORTSDIR}/java/jdk > BUILD_DEPENDS= javac:${PORTSDIR}/java/jdk > > to the Makefile. But unfortunately the binaries of jdk will not be > installed into /usr/local/bin, but into /usr/local/jdk1.1.8/bin, and > /usr/local/jdk1.1.8/bin is normally not in PATH. > > My question is now how to handle this. > * Install without the tracer and drop the user a message? > * adjust the PATH, so that javac etc. can be found? > * Patch the sources so that javac will be /usr/local/jdk1.1.8/bin/javac > etc.? > * Use an other JAVA implementation, i.e. KAFFE? > > Any comments? Any other ideas? -- Dipl.-Inform. (Univ.) Oliver Braun Department of Computing Science Federal Armed Forces University Munich http://ist.unibw-muenchen.de/People/obraun/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message