From 6bc6570d7fd20fe27f87e204c2ecf395c194fff8 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 6 Sep 2010 17:26:17 +0000 Subject: Enable wide character support in ncurses. It is built into libcurses, libform, libmenu, libpanel and each library is also linked to a corresponding "w" version. This is a major bump for all four libraries. Thanks to landry, stsp, sthen, naddy, oga, Martin Pieuchot, and anyone else I've forgotten for testing. ok naddy krw deraadt --- lib/libmenu/Makefile | 14 ++++++++++++++ lib/libmenu/shlib_version | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) (limited to 'lib/libmenu') diff --git a/lib/libmenu/Makefile b/lib/libmenu/Makefile index fbf5facbe93..38b53d5463d 100644 --- a/lib/libmenu/Makefile +++ b/lib/libmenu/Makefile @@ -1,3 +1,5 @@ +# $OpenBSD: Makefile,v 1.13 2010/09/06 17:26:17 nicm Exp $ + LIB= menu WANTLINT= SRCS= m_attribs.c m_cursor.c m_driver.c m_format.c \ @@ -46,4 +48,16 @@ includes: ${INSTALL} ${INSTALL_COPY} -m 444 -o $(BINOWN) -g $(BINGRP) $$i \ ${DESTDIR}/usr/include; done +.include + +afterinstall: + -cd ${DESTDIR}${LIBDIR}; \ + for i in ${_LIBS}; do \ + ln -f $$i `echo $$i | sed 's/menu/menuw/'`; \ + done +.if (${DEBUGLIBS:L} == "yes") + -cd ${DESTDIR}${LIBDIR}/debug; \ + ln -f lib${LIB}.a lib`echo ${LIB} | sed 's/menu/menuw/'`.a +.endif + .include diff --git a/lib/libmenu/shlib_version b/lib/libmenu/shlib_version index d9961ea9fef..3066b9771e7 100644 --- a/lib/libmenu/shlib_version +++ b/lib/libmenu/shlib_version @@ -1,2 +1,2 @@ -major=4 +major=5 minor=0 -- cgit v1.2.3-59-g8ed1b