summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2010-01-31 21:02:48 +0000
committertnn <tnn@pkgsrc.org>2010-01-31 21:02:48 +0000
commitc7f6f789b4275a947b09dbf6934cc06319a0b91d (patch)
tree1f7f33f589cfe53c21a759e69355105604bd7328 /www
parent1ececaff14e98ddddd07d6f4ccd0c54d1cbcdc8a (diff)
downloadpkgsrc-c7f6f789b4275a947b09dbf6934cc06319a0b91d.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)