pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/firefox Don't record an exact version dependency o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d3d9c014ffb8
branches:  trunk
changeset: 570534:d3d9c014ffb8
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Jan 31 21:02:48 2010 +0000

description:
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:

 www/firefox/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r 4c32c430afec -r d3d9c014ffb8 www/firefox/Makefile
--- a/www/firefox/Makefile      Sun Jan 31 20:54:44 2010 +0000
+++ b/www/firefox/Makefile      Sun Jan 31 21:02:48 2010 +0000
@@ -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@localhost
@@ -9,7 +10,6 @@
 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 @@
        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)



Home | Main Index | Thread Index | Old Index