Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

Commit fb30cc3

Browse files
committed
doc: update OpenBSD build instructions
1 parent 7d22049 commit fb30cc3

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

doc/openbsd.txt

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1+
In addition to the dependencies listed in the readme, the following packages
2+
are required:
13

2-
This is one user's ./configure invocation, that worked on OpenBSD.
4+
autoconf & automake (for the build system)
5+
gmake (the Makefiles generated by Autotools aren't BSD make compatible)
6+
argp-standalone (OpenBSD's libc lacks the argp_* interfaces)
37

4-
Certainly the pathnames may differ, but the general idea is clear: Set
5-
CFLAGS, LDFLAGS, and other environment vars as needed, prior to
6-
./configure invocation.
8+
After that, the standard autogen-configure-build sequence should work:
79

8-
AUTOMAKE_VERSION=1.11 AUTOCONF_VERSION=2.68 ./autogen.sh && \
9-
CC=clang LD=llvm-ld CFLAGS='-O2 -Wall -g -I/usr/local/include/event2 \
10-
-I/opt/OpenBSD/5.1/amd64/jansson-2.4/include -I/usr/local/include/event2' \
11-
LDFLAGS='-L/opt/OpenBSD/5.1/amd64/jansson-2.4/lib -L/usr/local/lib -L/usr/lib' \
12-
./configure --prefix=/opt/OpenBSD/5.1/amd64/picocoin-0.0 && \
13-
make all check
10+
AUTOMAKE_VERSION=1.15 AUTOCONF_VERSION=2.69 ./autogen.sh
11+
./configure CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib
12+
gmake all check

0 commit comments

Comments
 (0)