summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorriastradh <riastradh@pkgsrc.org>2013-05-11 16:24:59 +0000
committerriastradh <riastradh@pkgsrc.org>2013-05-11 16:24:59 +0000
commitf7f090199247aeb6cb738be269d3bc9350ba1fc3 (patch)
treea1f27a0e878756b22be2ac0d11a1a0e1afbded51 /www
parentb2bd9a47824b5b17100b0b06430eda701f4bf64f (diff)
downloadpkgsrc-f7f090199247aeb6cb738be269d3bc9350ba1fc3.tar.gz
Fix www/lynx cross-build by setting BUILD_CC.
Diffstat (limited to 'www')
-rw-r--r--www/lynx/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/lynx/Makefile b/www/lynx/Makefile
index 4a8fba261c9..29f1de84a9c 100644
--- a/www/lynx/Makefile
+++ b/www/lynx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.113 2013/02/08 00:10:47 tron Exp $
+# $NetBSD: Makefile,v 1.114 2013/05/11 16:24:59 riastradh Exp $
DISTNAME= lynx2.8.7
PKGNAME= lynx-2.8.7
@@ -75,6 +75,10 @@ CONFIGURE_ARGS+= --enable-nested-tables
CONFIGURE_ARGS+= --enable-prettysrc
CONFIGURE_ARGS+= --enable-read-eta
+.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
+CONFIGURE_ENV+= BUILD_CC=${NATIVE_CC:Q}
+.endif
+
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"