summaryrefslogtreecommitdiff
path: root/building.txt
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2010-02-05 18:04:39 +0100
committerBardur Arantsson <bardur@scientician.net>2010-02-05 18:04:39 +0100
commit8456ddac1f7770283ba040eb612347f5108a590f (patch)
tree31765124a8a9840c57e26b9d0597ff12d81884e6 /building.txt
parent578302b7808d742eac85197bf4f5af1bc207d97d (diff)
Add notes about building on OpenBSD.
Diffstat (limited to 'building.txt')
-rw-r--r--building.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/building.txt b/building.txt
index 34247f9e..021b3718 100644
--- a/building.txt
+++ b/building.txt
@@ -58,3 +58,20 @@ Each frontend requires the additional packages listed below:
X11: libx11-dev
SDL: libsdl-image1.2-dev, libsdl-ttf2.0-dev
ncurses: libncurses5-dev
+
+
+Compiling on OpenBSD
+====================
+
+As of February 2010, the OpenBSD package cmake-2.4.8p2 is too old for
+building ToME. You may need to compile a newer version of CMake.
+
+If you have X11, then a bug in CMake may cause a linker error when
+linking the 'tome' executable. As a workaround, set the environment
+variable LDFLAGS=-L/usr/X11R6/lib when running CMake. Example:
+
+ $ env LDFLAGS=-L/usr/X11R6/lib cmake .
+ $ make
+
+The SDL frontend also requires these packages: sdl-image, sdl-ttf
+