File: 03_kfreebsd_build.patch

package info (click to toggle)
luabind 0.9.1%2Bdfsg-5
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,460 kB
  • sloc: cpp: 13,761; makefile: 120; sh: 24; ansic: 11
file content (21 lines) | stat: -rw-r--r-- 545 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Allow luabind to build on GNU/kFreeBSD
--- luabind.orig/Jamroot
+++ luabind/Jamroot
@@ -55,7 +55,7 @@
         lib lua : : <name>lua5.1 <search>$(LUA_PATH) : : <include>$(includes) ;
     }
 }
-else if [ os.name ] in LINUX MACOSX FREEBSD
+else if [ os.name ] in LINUX MACOSX FREEBSD KFREEBSD
 {
     LUA_PATH = [ os.environ LUA_PATH ] ;
     HOME = [ os.environ HOME ] ;
@@ -102,7 +102,7 @@
     }
 
     lib m : : <link>shared ;
-    if [ os.name ] = LINUX
+    if [ os.name ] in LINUX KFREEBSD
     {
         lib dl : : <link>shared ;
     }