Fwd: IcedTea6 Mozilla plugin with OpenJDK6

Jung-uk Kim jkim at FreeBSD.org
Thu Sep 9 22:28:22 UTC 2010

While I was porting a Mozilla plugin, I found something

%pkg-config --modversion mozilla-plugin
%pkg-config --cflags mozilla-plugin
-DXP_UNIX -I/usr/local/include/libxul/stable
%ls -dl /usr/local/include/libxul/stable/
ls: /usr/local/include/libxul/stable/: No such file or directory
%pkg_info -W /usr/local/libdata/pkgconfig/mozilla-plugin.pc 
/usr/local/libdata/pkgconfig/mozilla-plugin.pc was installed by package libxul-
%pkg-config --cflags libxul
-fshort-wchar -I/usr/local/include/libxul -I/usr/local/include/nspr
%ls -dl /usr/local/include/libxul/
drwxr-xr-x  11 root  wheel  56832 Aug  9 16:21 /usr/local/include/libxul/

As you can see, --cflags returns a nonexistent directory for
mozilla-plugin package.  It returns the correct directory for
libxul, though.  As a workaround, I had to do this:

# XXX Need to fix in ports.
CFLAGS+=	${PLUGIN_CFLAGS:C/\/libxul\/stable/\/libxul/}

Can anyone explain what's going on here?


Jung-uk Kim

----------  Forwarded Message  ----------

Subject: IcedTea6 Mozilla plugin with OpenJDK6
Date: Thursday 09 September 2010 05:42 pm
From: Jung-uk Kim <jkim at FreeBSD.org>
To: freebsd-java at freebsd.org
Cc: Beat Gaetzi <beat at freebsd.org>

Finally, we have the hybrid and you can see some (updated)
 screenshots from here:


The experimental ports tarball is available from here:


Note the plugin is turned off by default because it is an
 experimental and unofficial software from icedtea.classpath.org.  To
 enable it, run "make config" and select "WEB" option.  Re-build,
 re-install, and enjoy!


Jung-uk Kim


More information about the freebsd-gecko mailing list