Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2001 10:46:51 +0200
From:      Oliver Braun <obraun@informatik.unibw-muenchen.de>
To:        ports@freebsd.org
Subject:   Re: Question: Porting nhc98
Message-ID:  <20010626104651.A90015@gaia.informatik.unibw-muenchen.de>
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 %2B0200
References:  <20010620095612.A67444@gaia.informatik.unibw-muenchen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Is there nobody on that list, who wants to give me a reply?
Am I doing something wrong?

Regards,
Olli

* Oliver Braun <obraun@informatik.unibw-muenchen.de>:
> Hi *,
> 
> currently I am going to try to build an nhc98 port
> <URL:http://www.cs.york.ac.uk/fp/nhc98/>. 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010626104651.A90015>