summaryrefslogtreecommitdiff
path: root/lib/libform/Makefile
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2010-09-06 17:26:18 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2010-09-06 17:26:18 +0000
commit8ce6de586f6d6ca2f543461d99c400afc6be6004 (patch)
tree726269df03a2f911f85d8745f76b5a5003e60cee /lib/libform/Makefile
parent132a69b33e674847717fae13debd5554a13a8cd0 (diff)
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
Diffstat (limited to 'lib/libform/Makefile')
-rw-r--r--lib/libform/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/libform/Makefile b/lib/libform/Makefile
index 8ce3ad75cfa..aff6219ef33 100644
--- a/lib/libform/Makefile
+++ b/lib/libform/Makefile
@@ -57,4 +57,16 @@ includes:
${INSTALL} ${INSTALL_COPY} -m 444 -o $(BINOWN) -g $(BINGRP) $$i \
${DESTDIR}/usr/include; done
+.include <bsd.own.mk>
+
+afterinstall:
+ -cd ${DESTDIR}${LIBDIR}; \
+ for i in ${_LIBS}; do \
+ ln -f $$i `echo $$i | sed 's/form/formw/'`; \
+ done
+.if (${DEBUGLIBS:L} == "yes")
+ -cd ${DESTDIR}${LIBDIR}/debug; \
+ ln -f lib${LIB}.a lib`echo ${LIB} | sed 's/form/formw/'`.a
+.endif
+
.include <bsd.lib.mk>