pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/readline Work around broken wcwidth autoconf run...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/63ef5a6f984f
branches:  trunk
changeset: 646735:63ef5a6f984f
user:      riastradh <riastradh%pkgsrc.org@localhost>
date:      Sat Feb 14 06:51:33 2015 +0000

description:
Work around broken wcwidth autoconf run-test in cross-compile.

diffstat:

 devel/readline/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 587a7f4e3f9d -r 63ef5a6f984f devel/readline/Makefile
--- a/devel/readline/Makefile   Sat Feb 14 05:52:11 2015 +0000
+++ b/devel/readline/Makefile   Sat Feb 14 06:51:33 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2014/10/09 14:06:31 wiz Exp $
+# $NetBSD: Makefile,v 1.61 2015/02/14 06:51:33 riastradh Exp $
 
 READLINE_VERSION=      6.3
 
@@ -16,6 +16,14 @@
 GNU_CONFIGURE=         yes
 INFO_FILES=            yes
 
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ENV+=                bash_cv_wcwidth_broken=no
+.endif
+.endif
+
 BUILD_TARGET=          all-libtool examples
 INSTALL_TARGET=                install-libtool
 



Home | Main Index | Thread Index | Old Index