pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/firefox www/firefox: set some macro before includi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9bbb6eaa4695
branches: trunk
changeset: 377756:9bbb6eaa4695
user: taca <taca%pkgsrc.org@localhost>
date: Wed Mar 21 16:06:29 2018 +0000
description:
www/firefox: set some macro before including <bsd.prefs.mk>
Set some make macro before including <bsd.prefs.mk> in order to allow
to set additional values in mk.conf.
diffstat:
www/firefox/mozilla-common.mk | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diffs (36 lines):
diff -r 2e30f94a0c16 -r 9bbb6eaa4695 www/firefox/mozilla-common.mk
--- a/www/firefox/mozilla-common.mk Wed Mar 21 15:30:07 2018 +0000
+++ b/www/firefox/mozilla-common.mk Wed Mar 21 16:06:29 2018 +0000
@@ -1,10 +1,16 @@
-# $NetBSD: mozilla-common.mk,v 1.107 2018/03/17 17:55:13 maya Exp $
+# $NetBSD: mozilla-common.mk,v 1.108 2018/03/21 16:06:29 taca Exp $
#
# common Makefile fragment for mozilla packages based on gecko 2.0.
#
# used by www/firefox/Makefile
# used by www/seamonkey/Makefile
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS+= --prefix=${PREFIX}
+USE_TOOLS+= pkg-config perl gmake autoconf213 unzip zip
+USE_LANGUAGES+= c99 c++
+UNLIMIT_RESOURCES+= datasize
+
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
@@ -14,14 +20,9 @@
#CONFIGURE_ARGS+= --enable-eme=widevine
.endif
-HAS_CONFIGURE= yes
-CONFIGURE_ARGS+= --prefix=${PREFIX}
# For rustc/cargo detection
CONFIGURE_ARGS+= --target=${MACHINE_GNU_PLATFORM:Q}
CONFIGURE_ARGS+= --host=${MACHINE_GNU_PLATFORM:Q}
-USE_TOOLS+= pkg-config perl gmake autoconf213 unzip zip
-USE_LANGUAGES+= c99 c++
-UNLIMIT_RESOURCES+= datasize
CONFIGURE_ENV+= BINDGEN_CFLAGS="-isystem${PREFIX}/include/nspr \
-isystem${X11BASE}/include/pixman-1"
Home |
Main Index |
Thread Index |
Old Index