summaryrefslogtreecommitdiff
path: root/www/firefox/mozilla-common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox/mozilla-common.mk')
-rw-r--r--www/firefox/mozilla-common.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/www/firefox/mozilla-common.mk b/www/firefox/mozilla-common.mk
index 16794bb5c53..0dbe2b496c6 100644
--- a/www/firefox/mozilla-common.mk
+++ b/www/firefox/mozilla-common.mk
@@ -1,4 +1,4 @@
-# $NetBSD: mozilla-common.mk,v 1.104 2018/01/24 16:52:08 ryoon Exp $
+# $NetBSD: mozilla-common.mk,v 1.105 2018/02/10 07:02:47 ryoon Exp $
#
# common Makefile fragment for mozilla packages based on gecko 2.0.
#
@@ -84,6 +84,12 @@ SUBST_MESSAGE.fix-paths= Fixing absolute paths.
SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xpcom/io/nsAppFileLocationProvider.cpp
SUBST_SED.fix-paths+= -e 's,/usr/lib/mozilla/plugins,${PREFIX}/lib/netscape/plugins,g'
+SUBST_CLASSES+= prefix
+SUBST_STAGE.prefix= pre-configure
+SUBST_MESSAGE.prefix= Setting PREFIX
+SUBST_FILES.prefix+= ${MOZILLA_DIR}xpcom/build/BinaryPath.h
+SUBST_VARS.prefix+= PREFIX
+
CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.guess
CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.guess
CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.guess