Browse Source

Enhance build instructions for OpenBSD

Fixes #363.
Rémi Verschelde 8 years ago
parent
commit
6239587813
1 changed files with 13 additions and 4 deletions
  1. 13 4
      development/compiling/compiling_for_x11.rst

+ 13 - 4
development/compiling/compiling_for_x11.rst

@@ -21,7 +21,7 @@ required:
 -  PulseAudio development libraries (for sound support)
 -  PulseAudio development libraries (for sound support)
 -  Freetype (for the editor)
 -  Freetype (for the editor)
 -  OpenSSL (for HTTPS and TLS)
 -  OpenSSL (for HTTPS and TLS)
--  libudev-dev (optional, for gamepad support)
+-  libudev-dev (optional, build with `udev=yes`)
 
 
 Known issues with GCC 6
 Known issues with GCC 6
 ^^^^^^^^^^^^^^^^^^^^^^^
 ^^^^^^^^^^^^^^^^^^^^^^^
@@ -59,6 +59,10 @@ Distro-specific oneliners
 |               |         "pkgconfig(openssl)" "pkgconfig(udev)" "pkgconfig(x11)" "pkgconfig(xcursor)" "pkgconfig(xinerama)"\|
 |               |         "pkgconfig(openssl)" "pkgconfig(udev)" "pkgconfig(x11)" "pkgconfig(xcursor)" "pkgconfig(xinerama)"\|
 |               |         "pkgconfig(xrandr)" "pkgconfig(zlib)"                                                              |
 |               |         "pkgconfig(xrandr)" "pkgconfig(zlib)"                                                              |
 +---------------+------------------------------------------------------------------------------------------------------------+
 +---------------+------------------------------------------------------------------------------------------------------------+
+| **OpenBSD**   | ::                                                                                                         |
+|               |                                                                                                            |
+|               |     pkg_add python scons png llvm                                                                          | 
++---------------+------------------------------------------------------------------------------------------------------------+
 | **openSUSE**  | ::                                                                                                         |
 | **openSUSE**  | ::                                                                                                         |
 |               |                                                                                                            |
 |               |                                                                                                            |
 |               |     sudo zypper install scons pkgconfig libX11-devel libXcursor-devel libXrandr-devel libXinerama-devel \  |
 |               |     sudo zypper install scons pkgconfig libX11-devel libXcursor-devel libXrandr-devel libXinerama-devel \  |
@@ -86,11 +90,16 @@ If all goes well, the resulting binary executable will be placed in the
 runs without any dependencies. Executing it will bring up the project
 runs without any dependencies. Executing it will bring up the project
 manager.
 manager.
 
 
-If you wish to compile using Clang rather than GCC, use this command:
+.. note::
 
 
-::
+    If you wish to compile using Clang rather than GCC, use this command:
+
+    ::
+
+        user@host:~/godot$ scons platform=x11 use_llvm=yes
 
 
-    user@host:~/godot$ scons platform=x11 use_llvm=yes
+    Using Clang appears to be a requirement for OpenBSD, otherwise fonts
+    would not build.
 
 
 Building export templates
 Building export templates
 -------------------------
 -------------------------