9base

revived minimalist port of Plan 9 userland to Unix
git clone git://git.suckless.org/9base
Log | Files | Refs | README | LICENSE

commit 4fe8994317557febe21758a92fe26edbce6d517d
parent 9108d8bdacd655aed0b6a9a79a035dd24a99ff24
Author: sin <sin@2f30.org>
Date:   Thu,  9 Oct 2014 11:34:03 +0100

install lib9.a

This patch installs lib9.a in ${DESTDIR}${PREFIX}/lib/ so it can be
linked against with -l9 (given the correct -L). I found that necessary
to compile y.tab.c generated by 9base's yacc due to sprint().

Patch contributed by Evan Gates.

Diffstat:
Mlib9/Makefile | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/lib9/Makefile b/lib9/Makefile @@ -213,8 +213,11 @@ all: ${LIB} @echo built lib9 install: + @mkdir -p ${DESTDIR}${PREFIX}/lib + @cp -f ${LIB} ${DESTDIR}${PREFIX}/lib/ uninstall: + rm -f ${DESTDIR}${PREFIX}/lib/${LIB} ${LIB}: ${OFILES} @echo AR ${TARG}