Patches to update jdk15 to patchset 2
Panagiotis Astithas
past at ebs.gr
Sat Sep 10 18:29:49 PDT 2005
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
More information about the freebsd-java
mailing list