чување cd9491820cb5918ff64f2ad74fb01f7075caae99
родитељ 26d9eee07a31fd4d7e2375fa90cbb6542295e299
Аутор: Страхиња Радић <sr@strahinja.org>
Датум: Tue, 10 Mar 2026 12:35:45 +0100
Update INSTALL
Diffstat:
| M | INSTALL | | | 24 | ++++++------------------ |
измењених датотека: 1, додавања: 6(+), брисања: 18(-)
diff --git a/INSTALL b/INSTALL
@@ -1,7 +1,7 @@
Prerequisites
=============
-* C compiler - defaults in config.mk
+* C compiler - defaults in config.mk (HaikuOS needs Clang/LLVM)
* YACC - part of comp?? in OpenBSD, GNU Bison in GNU/Linux or other
* Flex - part of comp?? in OpenBSD
@@ -11,6 +11,7 @@ Install
$ git clone https://git.sr.ht/~strahinja/bool
$ cd bool
+ $ cp config.$(uname -s) config.mk
$ su
# make install
@@ -19,6 +20,7 @@ With got[1]:
$ got clone https://git.sr.ht/~strahinja/bool
$ got checkout bool.git
$ cd bool
+ $ cp config.$(uname -s) config.mk
$ su
# make install
@@ -30,21 +32,7 @@ The file config.mk will be sourced when building targets which also accept
configuration through environment variables. For example, CPPFLAGS and PREFIX
are specified in config.mk.
+Initially, there will be no config.mk, you will need to copy one of the
+customized config.* files or write your own:
-OpenBSD
--------
-
-Before running make(1), comment the CPPFLAGS definition in config.mk above the
-line with the "OpenBSD" comment and uncomment the one below it:
-
- #CPPFLAGS = -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L \
- # -D_XOPEN_SOURCE=700
- # OpenBSD
- CPPFLAGS = -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L \
- -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
-
-Also, do the same for MANPREFIX:
-
- #MANPREFIX = $(DESTDIR)$(PREFIX)/share/man
- # OpenBSD
- MANPREFIX = $(DESTDIR)$(PREFIX)/man
+ $ cp config.$(uname -s) config.mk || echo Write config.mk from scratch