summaryrefslogtreecommitdiff
path: root/devel/xulrunner
diff options
context:
space:
mode:
authortnn <tnn>2009-08-10 13:13:42 +0000
committertnn <tnn>2009-08-10 13:13:42 +0000
commit5a85ca29bf166f1f7720249a0e6ecc45df57ca1d (patch)
treeb4ff08dabcf3285352752abaa6b73ddfc9f1fe21 /devel/xulrunner
parentfa56243c46b469d4a8eb68fbd7a276a24eb0a02b (diff)
downloadpkgsrc-5a85ca29bf166f1f7720249a0e6ecc45df57ca1d.tar.gz
Fix GRE registration. Should fix PR pkg/41866. PKGREVISION++
Diffstat (limited to 'devel/xulrunner')
-rw-r--r--devel/xulrunner/Makefile14
-rw-r--r--devel/xulrunner/PLIST3
2 files changed, 13 insertions, 4 deletions
diff --git a/devel/xulrunner/Makefile b/devel/xulrunner/Makefile
index dea9af982c8..4a8ea4e4e22 100644
--- a/devel/xulrunner/Makefile
+++ b/devel/xulrunner/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.11 2009/08/10 00:27:49 tnn Exp $
+# $NetBSD: Makefile,v 1.12 2009/08/10 13:13:42 tnn Exp $
#
DISTNAME= xulrunner-${XULRUNNER_VER}-source
PKGNAME= ${DISTNAME:S/-source//}
XULRUNNER_VER= 1.9.1.2
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= devel www
MASTER_SITES= ${MASTER_SITE_MOZILLA:=xulrunner/releases/${XULRUNNER_VER}/source/}
EXTRACT_SUFX= .tar.bz2
@@ -59,7 +59,15 @@ CONFIGURE_ARGS+= --enable-system-sqlite
CONFIGURE_ARGS+= --disable-crashreporter
ALL_ENV+= MOZILLA_PKG_NAME=xulrunner
-INSTALL_ENV+= SKIP_GRE_REGISTRATION=defined
+
+SUBST_CLASSES+= fix-paths
+SUBST_STAGE.fix-paths= pre-configure
+SUBST_MESSAGE.fix-paths= Fixing absolute paths.
+SUBST_FILES.fix-paths= xpcom/build/nsXPCOMPrivate.h
+SUBST_FILES.fix-paths+= xulrunner/app/nsRegisterGREUnix.cpp
+SUBST_FILES.fix-paths+= xulrunner/installer/Makefile.in
+SUBST_FILES.fix-paths+= extensions/java/xpcom/interfaces/org/mozilla/xpcom/Mozilla.java
+SUBST_SED.fix-paths= -e 's,/etc/gre.d,${PREFIX}/lib/xulrunner/gre.d,g'
PYTHON_FOR_BUILD_ONLY= yes
.include "../../lang/python/application.mk"
diff --git a/devel/xulrunner/PLIST b/devel/xulrunner/PLIST
index cbfdc60e574..9a2e9afd280 100644
--- a/devel/xulrunner/PLIST
+++ b/devel/xulrunner/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2009/08/09 21:05:01 tnn Exp $
+@comment $NetBSD: PLIST,v 1.10 2009/08/10 13:13:42 tnn Exp $
bin/xulrunner
include/xulrunner/stable/base64.h
include/xulrunner/stable/blapit.h
@@ -2372,6 +2372,7 @@ lib/xulrunner/defaults/profile/localstore.rdf
lib/xulrunner/dependentlibs.list
lib/xulrunner/dictionaries/en-US.aff
lib/xulrunner/dictionaries/en-US.dic
+lib/xulrunner/gre.d/${PKGVERSION}.system.conf
lib/xulrunner/greprefs/all.js
lib/xulrunner/greprefs/security-prefs.js
lib/xulrunner/greprefs/xpinstall.js