doc/openbsd.md
This document aims to explain the steps needed to build r2 and r2b-python on OpenBSD.
make (from GNU) is named gmakeInstall: pkg_add git gcc gmake pkgconf
git clone https://github.com/radareorg/radare2
cd radare2
sys/install.sh /usr/local
doas pkg_add pkgconf vala
git clone https://github.com/radare/valabind
cd valabind
gmake
doas gmake install PREFIX=/usr/local
git clone https://github.com/radareorg/radare2-bindings
cd radare2-bindings
export CC=cc
export CXX=c++
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
./configure --prefix=/usr/local
cd python
gmake CC=$CC CXX=$CXX
doas gmake install