summaryrefslogtreecommitdiff
path: root/plan9/README
blob: 6df23d31a7b108bf3704939a5a0bc75ebc9b96f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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 -ac ../lib lib
% bind -ac ../src src
% bind -ac ../include include
% bind -ac .. .

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