diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-12-29 01:39:32 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-12-29 01:39:32 +0800 |
commit | 589477efe47c16a83665a3f16710091e61ac8603 (patch) | |
tree | 7fd072e2dde09dd65544b8a63da1bfb1f36410dd /www/libxul/Makefile | |
parent | c120d69ae983fcdcf34cf4d992c4fb0b51fc0b05 (diff) | |
download | marcuscom-ports-589477efe47c16a83665a3f16710091e61ac8603.tar marcuscom-ports-589477efe47c16a83665a3f16710091e61ac8603.tar.gz marcuscom-ports-589477efe47c16a83665a3f16710091e61ac8603.tar.bz2 marcuscom-ports-589477efe47c16a83665a3f16710091e61ac8603.tar.lz marcuscom-ports-589477efe47c16a83665a3f16710091e61ac8603.tar.xz marcuscom-ports-589477efe47c16a83665a3f16710091e61ac8603.tar.zst marcuscom-ports-589477efe47c16a83665a3f16710091e61ac8603.zip |
Add "--with-default-mozilla-five-home=${PREFIX}/lib/${MOZILLA}" to fix other
applications in the runtime. Some applications required to have set
MOZILLA_FIVE_HOME or/and LD_LIBRARY_PATH to make it works in the runtime. Now,
it's no longer need to set these variables, which this flag takes care of it.
The MOZILLA_FIVE_HOME still works with this flag if someone need to use
different one. I have learned about this flag from RPM, Debian, Gentoo ebuild
and other packages. Bump the PORTREVISION.
It has been tested with py-gnome-extras, ruby-gtkmozembed, epiphany,
development version of deluge, miro and yelp in both build and run time
with Firefox.
marcus wants me to put in MC first before I put these in FreeBSD ports tree,
because of ports tree still isn't complete unfreeze. I personal doubt that it
will causing any problem, so if it does then please report to me.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10009 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/libxul/Makefile')
-rw-r--r-- | www/libxul/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/www/libxul/Makefile b/www/libxul/Makefile new file mode 100644 index 000000000..235caf1a4 --- /dev/null +++ b/www/libxul/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: xulrunner +# Date created: 2006-02-20 +# Whom: Michael Johnson <ahze@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= xulrunner +PORTVERSION= 1.8.0.4 +PORTREVISION?= 9 +CATEGORIES?= www devel +MASTER_SITES= ${MASTER_SITE_MOZILLA} +MASTER_SITE_SUBDIR= xulrunner/releases/${PORTVERSION}/source/ +DISTNAME= ${PORTNAME}-${PORTVERSION}-source + +MAINTAINER?= gnome@FreeBSD.org +COMMENT?= Mozilla runtime package that can be used to bootstrap XUL+XPCOM apps + +WANT_GNOME= yes +WANT_PERL= yes +ALL_TARGET= default +HAS_CONFIGURE= yes +USE_BZIP2= yes +USE_GMAKE= yes +USE_GCC= 3.4+ + +PORT_MOZCONFIG= ${WRKSRC}/xulrunner/config/mozconfig +MOZ_OPTIONS?= --with-default-mozilla-five-home=${PREFIX}/lib/${MOZILLA} \ + --disable-javaxpcom --enable-canvas \ + --enable-system-cairo +MOZ_EXTENSIONS= default,cookie,permissions +OPTIONS= # Empty, used for generic gecko OPTIONS +USE_GECKO_OPTIONS= java debug logging optimized_cflags + +.include <bsd.port.pre.mk> +.include "${PORTSDIR}/www/mozilla/Makefile.common" +.include <bsd.port.post.mk> |