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.
This commit is contained in:
tnn 2010-01-31 21:02:48 +00:00
parent a72de9d994
commit 23e6e6c47d

View file

@ -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)