summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2015-11-11 16:20:42 +0000
committerleot <leot@pkgsrc.org>2015-11-11 16:20:42 +0000
commit7af248b1784ede34e0b3cc04e83c99d028eea90e (patch)
tree5b35d679e69ffe91d72d84987a09c89bd7fd8c7a /www
parent8ae768a49315de63cd357f48f020fd184b4ef46a (diff)
downloadpkgsrc-7af248b1784ede34e0b3cc04e83c99d028eea90e.tar.gz
Avoid possible problems if HOST environment variable is defined.
Fixes PR pkg/50418 submitted by Hauke Fath.
Diffstat (limited to 'www')
-rw-r--r--www/netsurf/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/netsurf/Makefile b/www/netsurf/Makefile
index 3b54420a97e..25f663a6bce 100644
--- a/www/netsurf/Makefile
+++ b/www/netsurf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2015/09/22 19:03:35 leot Exp $
+# $NetBSD: Makefile,v 1.45 2015/11/11 16:20:42 leot Exp $
#
DISTNAME= netsurf-all-3.3
@@ -17,6 +17,10 @@ BUILD_DEPENDS+= re2c>=0.12:../../devel/re2c
BUILD_TARGET= build
USE_TOOLS+= bison flex gmake perl:build pax pkg-config
+# Avoid possible problems with shells that defines HOST
+MAKE_ENV+= BUILD="${MACHINE_GNU_ARCH}--${LOWER_OPSYS}"
+MAKE_ENV+= HOST="${MACHINE_GNU_ARCH}--${LOWER_OPSYS}"
+
INSTALLATION_DIRS+= share/netsurf bin
BUILDLINK_TRANSFORM+= rm:-Werror