Commit 5557301e3070cbcfa34387094780745e0dd760a0

czurnieden 2019-03-01T02:40:54

added building howto for NetBSD

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/doc/bn.tex b/doc/bn.tex
index ae8cede..85f0607 100644
--- a/doc/bn.tex
+++ b/doc/bn.tex
@@ -179,6 +179,16 @@ LIBTOOL="/usr/local/bin/libtool" gmake -f makefile.shared
 \end{alltt}
 You might need to run a \texttt{gmake -f makefile.shared clean} first.
 
+\subsubsection{NetBSD}
+NetBSD is not as strict as OpenBSD but still needs \texttt{gmake} to build the shared library. \texttt{libtool} may also not exist in a fresh install.
+\begin{alltt}
+pkg_add gmake libtool
+\end{alltt}
+Please check with \texttt{libtool --version} that installed libtool is indeed a GNU libtool.
+Build the shared library with:
+\begin{alltt}
+gmake -f makefile.shared
+\end{alltt}
 
 \subsection{Testing}
 To build the library and the test harness type