From 7af248b1784ede34e0b3cc04e83c99d028eea90e Mon Sep 17 00:00:00 2001 From: leot Date: Wed, 11 Nov 2015 16:20:42 +0000 Subject: Avoid possible problems if HOST environment variable is defined. Fixes PR pkg/50418 submitted by Hauke Fath. --- www/netsurf/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'www') 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 -- cgit v1.2.3