INSTALL (1014B)
1 Prerequisites 2 ============= 3 4 * C compiler - defaults in config.mk 5 6 7 Install 8 ------- 9 10 $ git clone https://git.sr.ht/~strahinja/poe 11 $ cd poe 12 $ su 13 # make install 14 15 With got[1]: 16 17 $ got clone https://git.sr.ht/~strahinja/poe 18 $ got checkout poe.git 19 $ cd poe 20 $ su 21 # make install 22 23 24 Persistent build configuration file 25 ----------------------------------- 26 27 The file config.mk will be sourced when building targets which also accept 28 configuration through environment variables. For example, CC and PREFIX 29 are specified in config.mk. 30 31 32 OpenBSD 33 ------- 34 35 Before running make(1), comment the CPPFLAGS definition in config.mk above the 36 line with the "OpenBSD" comment and uncomment the one below it: 37 38 #CPPFLAGS = -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L \ 39 # -D_XOPEN_SOURCE=700 40 # OpenBSD 41 CPPFLAGS = -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L \ 42 -D_XOPEN_SOURCE=700 -D_BSD_SOURCE 43 44 Also, do the same for MANPREFIX: 45 46 #MANPREFIX = $(DESTDIR)$(PREFIX)/share/man 47 # OpenBSD 48 MANPREFIX = $(DESTDIR)$(PREFIX)/man