summaryrefslogtreecommitdiff
path: root/plan9/BUILD.PLAN9.txt
diff options
context:
space:
mode:
authorlufia <lufia@lufia.org>2019-03-26 22:26:05 +0900
committerDaniel Stenberg <daniel@haxx.se>2019-07-31 00:23:25 +0200
commit84aba180e22c1cfab41cae8074af01dcb20adb16 (patch)
treeddef5d0e97667398df819c8e154a0892bb2bf4d9 /plan9/BUILD.PLAN9.txt
parent6cd5c355092c9811acd5a4b339e5a453d23045e2 (diff)
downloadcurl-84aba180e22c1cfab41cae8074af01dcb20adb16.tar.gz
plan9: add support for running on Plan 9
Closes #3701
Diffstat (limited to 'plan9/BUILD.PLAN9.txt')
-rw-r--r--plan9/BUILD.PLAN9.txt55
1 files changed, 55 insertions, 0 deletions
diff --git a/plan9/BUILD.PLAN9.txt b/plan9/BUILD.PLAN9.txt
new file mode 100644
index 000000000..1d04c5e7f
--- /dev/null
+++ b/plan9/BUILD.PLAN9.txt
@@ -0,0 +1,55 @@
+Prerequirement
+==============
+This document describes how to compile, build and install curl and libcurl
+from sources using mk. To build it, you will require to install latest
+9legacy patches into Plan 9. Also Plan 9 still have no configuration option so
+both zlib and libopenssl are required too.
+
+The zlib that is available on Plan 9 can be downloaded from:
+
+ https://github.com/madler/zlib/pull/398
+
+LibreSSL Portable can be downloaded from:
+
+ https://github.com/libressl-portable/portable/pull/510
+
+Instruction
+===========
+First, you should construct namespace as like described below:
+
+% bind -a ../lib lib
+% bind -a ../src src
+% bind -a ../include include
+% bind -a .. .
+
+Then you will see as shown below (excerpt):
+
+ curl.git/
+ |_plan9
+ | |_BUILD.PLAN9.txt
+ | |_CHANGES
+ | |_CMake
+ | | :
+ | |_mkfile
+ | |_mkfile.proto
+ | |_include
+ | | |_Makefile.am
+ | | | :
+ | | |_mkfile
+ | |_lib
+ | | |_CMakeLists.txt
+ | | | :
+ | | |_mkfile
+ | | |_mkfile.inc
+ | |_src
+ | | |_CMakeLists.txt
+ | | | :
+ | | |_mkfile
+ | | |_mkfile.inc
+ |_lib
+ |_src
+
+After constructing namespace, you can run mk on plan9 directory.
+
+% mk
+% mk install