[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patches to update jdk15 to patchset 2



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
_______________________________________________
freebsd-java_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe_(_at_)_freebsd_(_dot_)_org"



Visit your host, monkey.org