Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jun 2009 14:50:20 +0400
From:      Anonymous <swell.k@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/135998: [patch] www/libxul: make bin/xulrunner a bit more useful
Message-ID:  <868wjhnbwz.fsf@gmail.com>
Resent-Message-ID: <200906241120.n5OBK2RT039961@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         135998
>Category:       ports
>Synopsis:       [patch] www/libxul: make bin/xulrunner a bit more useful
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 24 11:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Anonymous
>Release:        FreeBSD 8.0-CURRENT amd64
>Organization:
>Environment:
>Description:
Currently bin/xulrunner complains that moz_libdir isn't set.

    $ xulrunner
    Cannot find mozilla runtime directory. Exiting.

So, define mozappdir gmake variable where moz_libdir is pointing to.
Now we can run some applications

    $ xulrunner conkeror/application.ini
>How-To-Repeat:
>Fix:
--- libxul.diff begins here ---
Index: www/libxul/Makefile
===================================================================
RCS file: /home/csup/ports/www/libxul/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- www/libxul/Makefile	16 Jun 2009 16:24:06 -0000	1.7
+++ www/libxul/Makefile	24 Jun 2009 09:49:42 -0000
@@ -29,7 +29,7 @@ ALL_TARGET=	default
 HAS_CONFIGURE=	yes
 USE_BZIP2=	yes
 USE_GMAKE=	yes
-MAKE_ENV=	SKIP_GRE_REGISTRATION=1
+MAKE_ENV=	SKIP_GRE_REGISTRATION=1 mozappdir=${PREFIX}/lib/${MOZILLA}
 LDFLAGS+=	-Wl,-rpath,${PREFIX}/lib/${MOZ_RPATH}
 
 PORT_MOZCONFIG=	${WRKSRC}/xulrunner/config/mozconfig
--- libxul.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?868wjhnbwz.fsf>