diff options
author | leot <leot@pkgsrc.org> | 2015-11-11 16:20:42 +0000 |
---|---|---|
committer | leot <leot@pkgsrc.org> | 2015-11-11 16:20:42 +0000 |
commit | 7af248b1784ede34e0b3cc04e83c99d028eea90e (patch) | |
tree | 5b35d679e69ffe91d72d84987a09c89bd7fd8c7a /www | |
parent | 8ae768a49315de63cd357f48f020fd184b4ef46a (diff) | |
download | pkgsrc-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/Makefile | 6 |
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 |