pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/firefox firefox: fix .mk file inclusion order issue



details:   https://anonhg.NetBSD.org/pkgsrc/rev/84f7e0c7789a
branches:  trunk
changeset: 327240:84f7e0c7789a
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Sun Dec 23 01:11:26 2018 +0000

description:
firefox: fix .mk file inclusion order issue

bsd.prefs.mk was being included after dependent variables it provides
were referenced, which meant PYTHON_VERSION_DEFAULT wasn't actually
being checked. (No revision bump, because this didn't prevent anything
from building, it's relevant only to those who customize pkgsrc build
variables.)

OK maya@

diffstat:

 www/firefox/mozilla-common.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 0b268ee0f87f -r 84f7e0c7789a www/firefox/mozilla-common.mk
--- a/www/firefox/mozilla-common.mk     Sun Dec 23 00:14:08 2018 +0000
+++ b/www/firefox/mozilla-common.mk     Sun Dec 23 01:11:26 2018 +0000
@@ -1,10 +1,12 @@
-# $NetBSD: mozilla-common.mk,v 1.121 2018/12/12 14:08:50 ryoon Exp $
+# $NetBSD: mozilla-common.mk,v 1.122 2018/12/23 01:11:26 gutteridge Exp $
 #
 # common Makefile fragment for mozilla packages based on gecko 2.0.
 #
 # used by www/firefox/Makefile
 # used by www/seamonkey/Makefile
 
+.include "../../mk/bsd.prefs.mk"
+
 # Python 2.7 and Python 3.5 or later are required simultaneously.
 PYTHON_VERSIONS_ACCEPTED=      27
 PYTHON_FOR_BUILD_ONLY=         tool
@@ -23,8 +25,6 @@
 USE_LANGUAGES+=                c99 gnu++14
 UNLIMIT_RESOURCES+=    datasize
 
-.include "../../mk/bsd.prefs.mk"
-
 TOOL_DEPENDS+=         cbindgen-[0-9]*:../../devel/cbindgen
 .if ${MACHINE_ARCH} == "sparc64"
 CONFIGURE_ARGS+=       --disable-nodejs



Home | Main Index | Thread Index | Old Index