tlibutf: new port - distro - linux distribution experiments
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit ab4824424149ff024b3657727b548ea072ad010e
 (DIR) parent 8bb65de5c725ee648ecbdaf54180ad3c7bbbcaa3
 (HTM) Author: z3bra <contactatz3bradotorg>
       Date:   Tue, 30 Oct 2018 08:26:04 +0100
       
       libutf: new port
       
       Diffstat:
         A pkg/libutf/mkfile                   |       8 ++++++++
         A pkg/libutf/patches/000-prefix-shar… |      19 +++++++++++++++++++
       
       2 files changed, 27 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/pkg/libutf/mkfile b/pkg/libutf/mkfile
       t@@ -0,0 +1,8 @@
       +pkg = libutf
       +ver = 2.0
       +url = http://swtch.com/plan9port/unix/$pkg.tgz
       +
       +<../build.mk
       +
       +CFLAGS = ${CFLAGS} -c -I.
       +MAKEFLAGS = PREFIX=`{pwd}/.rootfs
 (DIR) diff --git a/pkg/libutf/patches/000-prefix-share.diff b/pkg/libutf/patches/000-prefix-share.diff
       t@@ -0,0 +1,19 @@
       +diff -ruN a/Makefile b/Makefile
       +--- a/Makefile        2011-01-02 21:52:47.000000000 +0100
       ++++ b/Makefile        2016-01-24 00:57:15.836684225 +0100
       +@@ -55,11 +55,11 @@
       + all: $(LIB)
       + 
       + install: $(LIB)
       +-        mkdir -p $(PREFIX)/share/man/man3 $(PREFIX)/man/man7
       +-        install -c -m 0644 isalpharune.3 $(PREFIX)/share/man/man3/isalpharune.3
       ++        mkdir -p $(PREFIX)/man/man3 $(PREFIX)/man/man7
       ++        install -c -m 0644 isalpharune.3 $(PREFIX)/man/man3/isalpharune.3
       +         install -c -m 0644 utf.7 $(PREFIX)/man/man7/utf.7
       +-        install -c -m 0644 rune.3 $(PREFIX)/share/man/man3/rune.3
       +-        install -c -m 0644 runestrcat.3 $(PREFIX)/share/man/man3/runestrcat.3
       ++        install -c -m 0644 rune.3 $(PREFIX)/man/man3/rune.3
       ++        install -c -m 0644 runestrcat.3 $(PREFIX)/man/man3/runestrcat.3
       +         mkdir -p $(PREFIX)/include
       +         install -c -m 0644 utf.h $(PREFIX)/include/utf.h
       +         mkdir -p $(PREFIX)/lib