From owner-freebsd-java@FreeBSD.ORG Sun Sep 11 01:29:49 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 9A6A116A41F for ; Sun, 11 Sep 2005 01:29:49 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9375A43D45 for ; Sun, 11 Sep 2005 01:29:47 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j8B1TXID046259; Sun, 11 Sep 2005 04:29:33 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.200] (pptp.ebs.gr [10.1.1.200]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j8B1TZ2Z016884; Sun, 11 Sep 2005 04:29:35 +0300 (EEST) (envelope-from past@ebs.gr) Message-ID: <43238875.8010801@ebs.gr> Date: Sun, 11 Sep 2005 04:29:25 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050830) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Pawel Worach References: <20050909165832.GA16137@misty.eyesbeyond.com> <20050910214746.GA6047@misty.eyesbeyond.com> <43235672.8000603@gmail.com> In-Reply-To: <43235672.8000603@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Mark Hobden , freebsd-java@freebsd.org Subject: Re: Patches to update jdk15 to patchset 2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2005 01:29:49 -0000 Pawel Worach wrote: > Greg Lewis wrote: > >> No, I think you've done everything correctly. I think that what is >> happening is that back when I did the plugin support Firefox installed >> the nspr files, but now it doesn't (as of late August). I will need >> to do some additional changes to support nspr being separate. Yuk. >> > > Yea, I noticed this too, had to add /usr/local/include/nspr to the > include path. I just used the following patch: --- Makefile.orig Sun Sep 11 04:25:50 2005 +++ Makefile Sat Sep 10 15:08:38 2005 @@ -38,6 +38,7 @@ .endif USE_ICONV= yes MAKE_ENV+= ALT_MOZILLA_HEADERS_PATH="${X11BASE}/include" +MAKE_ENV+= NSPRHDRDIR="${LOCALBASE}/include/nspr" .endif PKGINSTALL= ${WRKDIR}/pkg-install Plus the following in files/patch-deploy::make::plugin::adapter::ns7-adapter::Makefile --- ../../deploy/make/plugin/adapter/ns7-adapter/Makefile.bak Sat Sep 10 14:58:56 2005 +++ ../../deploy/make/plugin/adapter/ns7-adapter/Makefile Sat Sep 10 15:04:52 2005 @@ -79,7 +79,7 @@ MOZHDRDIR = $(subst \,/,$(MOZILLA_HEADERS_PATH)/$(BROWSER)) \ $(subst \,/, $(MOZILLA_HEADERS_PATH)/$(BROWSER)/caps) \ $(subst \,/, $(MOZILLA_HEADERS_PATH)/$(BROWSER)/liveconnect) \ - $(subst \,/, $(MOZILLA_HEADERS_PATH)/$(BROWSER)/nspr) \ + $(NSPRHDRDIR) \ $(subst \,/, $(MOZILLA_HEADERS_PATH)/$(BROWSER)/oji) \ $(subst \,/, $(MOZILLA_HEADERS_PATH)/$(BROWSER)/plugin) \ $(subst \,/, $(MOZILLA_HEADERS_PATH)/$(BROWSER)/xpcom) This explains why you (Greg) couldn't see the breakage in the Eclipse port. It only manifests itself with WITH_PLUGIN=firefox, since mozilla has kept a local subdirectory of nspr include files and libraries, although it depends on devel/nspr. Cheers, Panagiotis