pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www firefox*-l10n: Avoid building these if Firefox doe...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/457a3df43eaa
branches:  trunk
changeset: 412933:457a3df43eaa
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Mar 13 15:46:21 2020 +0000

description:
firefox*-l10n: Avoid building these if Firefox doesn't get built.

Basically add an explicit DEPENDS line on the main firefox packages, these
language packs aren't useful without firefox.

diffstat:

 www/firefox-l10n/Makefile   |  4 +++-
 www/firefox52-l10n/Makefile |  4 +++-
 www/firefox60-l10n/Makefile |  4 +++-
 www/firefox68-l10n/Makefile |  4 +++-
 4 files changed, 12 insertions(+), 4 deletions(-)

diffs (72 lines):

diff -r 54640dc69fe6 -r 457a3df43eaa www/firefox-l10n/Makefile
--- a/www/firefox-l10n/Makefile Fri Mar 13 15:16:00 2020 +0000
+++ b/www/firefox-l10n/Makefile Fri Mar 13 15:46:21 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.169 2020/03/08 16:57:19 wiz Exp $
+# $NetBSD: Makefile,v 1.170 2020/03/13 15:46:21 nia Exp $
 
 FIREFOX_VER=   73.0.1
 PKGNAME=       firefox-l10n-${FIREFOX_VER:S/esr//}
@@ -12,6 +12,8 @@
 COMMENT=       Language packs for www/firefox
 LICENSE=       mpl-2.0 AND mpl-1.1 AND gnu-lgpl-v3 # as of 70.0.1
 
+DEPENDS+=      firefox>=${PKGVERSION_NOREV}:../../www/firefox
+
 DIST_SUBDIR=   ${PKGNAME_NOREV}
 DISTFILES=     ${FIREFOX_LOCALES:=.xpi}
 
diff -r 54640dc69fe6 -r 457a3df43eaa www/firefox52-l10n/Makefile
--- a/www/firefox52-l10n/Makefile       Fri Mar 13 15:16:00 2020 +0000
+++ b/www/firefox52-l10n/Makefile       Fri Mar 13 15:46:21 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2020/03/08 16:57:20 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2020/03/13 15:46:21 nia Exp $
 
 FIREFOX_VER=   52.9.0esr
 PKGNAME=       firefox52-l10n-${FIREFOX_VER:S/esr//}
@@ -11,6 +11,8 @@
 HOMEPAGE=      https://www.mozilla.com/en-US/firefox/
 COMMENT=       Language packs for www/firefox (version ${PKGVERSION_NOREV:C/\..*//})
 
+DEPENDS+=      firefox52>=${PKGVERSION_NOREV}:../../www/firefox52
+
 DIST_SUBDIR=   ${PKGNAME_NOREV}
 DISTFILES=     ${XPI_FILES}
 
diff -r 54640dc69fe6 -r 457a3df43eaa www/firefox60-l10n/Makefile
--- a/www/firefox60-l10n/Makefile       Fri Mar 13 15:16:00 2020 +0000
+++ b/www/firefox60-l10n/Makefile       Fri Mar 13 15:46:21 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2020/03/08 16:57:20 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2020/03/13 15:46:21 nia Exp $
 
 FIREFOX_VER=   60.9.0esr
 PKGNAME=       firefox60-l10n-${FIREFOX_VER:S/esr//}
@@ -11,6 +11,8 @@
 HOMEPAGE=      https://www.mozilla.com/en-US/firefox/
 COMMENT=       Language packs for www/firefox60 (version ${PKGVERSION_NOREV:C/\..*//})
 
+DEPENDS+=      firefox60>=${PKGVERSION_NOREV}:../../www/firefox60
+
 DIST_SUBDIR=   ${PKGNAME_NOREV}
 DISTFILES=     ${XPI_FILES}
 
diff -r 54640dc69fe6 -r 457a3df43eaa www/firefox68-l10n/Makefile
--- a/www/firefox68-l10n/Makefile       Fri Mar 13 15:16:00 2020 +0000
+++ b/www/firefox68-l10n/Makefile       Fri Mar 13 15:46:21 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2020/03/12 19:54:45 nia Exp $
+# $NetBSD: Makefile,v 1.10 2020/03/13 15:46:21 nia Exp $
 
 FIREFOX_VER=   68.6.0esr
 PKGNAME=       firefox68-l10n-${FIREFOX_VER:S/esr//}
@@ -11,6 +11,8 @@
 HOMEPAGE=      https://www.mozilla.com/en-US/firefox/
 COMMENT=       Language packs for www/firefox (version ${PKGVERSION_NOREV:C/\..*//})
 
+DEPENDS+=      firefox68>=${PKGVERSION_NOREV}:../../www/firefox68
+
 DIST_SUBDIR=   ${PKGNAME_NOREV}
 DISTFILES=     ${XPI_FILES}
 



Home | Main Index | Thread Index | Old Index