From owner-freebsd-java Mon Mar 10 2:34:53 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DF3937B401 for ; Mon, 10 Mar 2003 02:34:52 -0800 (PST) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id A24CB43FCB for ; Mon, 10 Mar 2003 02:34:50 -0800 (PST) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.12) id 18sKcB-0003lm-00; Mon, 10 Mar 2003 12:34:39 +0200 Date: Mon, 10 Mar 2003 12:34:39 +0200 From: Sheldon Hearn To: leafy Cc: freebsd-java@FreeBSD.ORG Subject: Re: ports/java/jdk14 and jni_md.h Message-ID: <20030310103439.GC12316@starjuice.net> Mail-Followup-To: leafy , freebsd-java@FreeBSD.ORG References: <20030310094649.GA12316@starjuice.net> <20030310095100.GA2149@leafy.idv.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030310095100.GA2149@leafy.idv.tw> User-Agent: Mutt/1.5.3i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On (2003/03/10 17:51), leafy wrote: > > a) jni.h should #include "bsd/jni_md.h", or > > b) jni.h should #include , or > > b) callers are expected to add .../jdk1.4.1/include/md to the include > > path when compiling, not just .../jdk1.4.1/include, or > > c) jni_md.h should be installed in .../jdk1.4.1/include, not > > .../jdk1.4.1/include/md. > > > > What do the experts say? > > > > Ciao, > > Sheldon. > Hi, > > Could you please explicitly add the bsd/ into the makefile? I think > resin and many other Java ports are in the same boat. If you mean ensure that .../bsd is included in the include path, that'll obviously work. My question is aimed more at finding out what the correct solution to the problem is. Your suggestion supports the second option b quoted above (sorry about that). Were you suggesting this as a test, or as "the correct approach"? I'm in favour of something that doesn't require modification of every consumer, unless those consumers are breaking a well-established rule. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message