summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortnn <tnn>2010-01-31 21:02:48 +0000
committertnn <tnn>2010-01-31 21:02:48 +0000
commit651d41fd57e866d9f0fcadcf5550f1d0ee920a6c (patch)
tree1f7f33f589cfe53c21a759e69355105604bd7328 /www
parentf50d445b015b3ecd14f9e5aa9354faccc31b862c (diff)
downloadpkgsrc-651d41fd57e866d9f0fcadcf5550f1d0ee920a6c.tar.gz
Don't record an exact version dependency on xulrunner.
Exact dependencies make upgrading through binary packages impossible because we don't have a way to do multipackage transactional updates. You still need to have the same mozilla platform version of xulrunner and firefox installed or there will be an error message at run time.
Diffstat (limited to 'www')
-rw-r--r--www/firefox/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index a0167f52cae..65d0e4fda66 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.68 2010/01/26 16:22:59 tron Exp $
+# $NetBSD: Makefile,v 1.69 2010/01/31 21:02:48 tnn Exp $
.include "../../devel/xulrunner/dist.mk"
PKGNAME= firefox-${FIREFOX_VER}
+PKGREVISION= 1
CATEGORIES= www
MAINTAINER= tnn@NetBSD.org
@@ -9,7 +10,6 @@ HOMEPAGE= http://www.mozilla.com/en-US/firefox/
COMMENT= Web browser with support for extensions
LICENSE= mpl-1.1
-WRKSRC= ${WRKDIR}/mozilla-1.9.1
MOZILLA_DIR= # empty
CONFIGURE_ARGS+= --enable-application=browser
@@ -51,7 +51,8 @@ post-install:
rm -f ${DESTDIR}${PREFIX}/bin/firefox
${INSTALL_SCRIPT} ${WRKDIR}/firefox ${DESTDIR}${PREFIX}/bin
-BUILDLINK_API_DEPENDS.xulrunner+= xulrunner-1.9.1.7{,nb*}
+BUILDLINK_API_DEPENDS.xulrunner+= xulrunner>=${MOZ_BRANCH}.${MOZ_BRANCH_MINOR}
+BUILD_DEPENDS+= xulrunner-${MOZ_BRANCH}.${MOZ_BRANCH_MINOR}{,nb*}:../../devel/xulrunner
.include "../../devel/xulrunner/buildlink3.mk"
PLIST_VARS+= gnome
.if !empty(PKG_BUILD_OPTIONS.xulrunner:Mgnome)