WIP recipe for IUP

* Rebase the work I did against latest IUP release
 * Currently fails to build because IUP wants to generate both Lua 5.1
and 5.2 bindings. It seems we can't build_require both packages to build
the bindings ? (require should be ok, as the libs for each version will
go in different packages in the end).
 * Also, port some of the fixes to tecmake to the two other tecgraf libs
using it.
This commit is contained in:
Adrien Destugues
2013-11-15 23:45:03 +01:00
parent 75c04e7a07
commit 3af2497960
4 changed files with 8107 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
From 25622aa79bc39c13f2d8f55a6a0572e34d06b962 Mon Sep 17 00:00:00 2001
From 6421d3e8c775ddb4477f4418a983d5bfa2b901f0 Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
Date: Thu, 14 Nov 2013 21:46:53 +0100
Subject: Make tecmake aware of Haiku and the lack of libm.
@@ -21,10 +21,20 @@ index cc89349..fc982e0 100755
}
diff --git a/tecmake.mak b/tecmake.mak
index f799a07..f317af2 100755
index f799a07..7ee8895 100755
--- a/tecmake.mak
+++ b/tecmake.mak
@@ -1177,7 +1177,9 @@ ifdef USE_X11
@@ -26,6 +26,9 @@ ifndef TEC_UNAME
TEC_SYSARCH:=$(shell uname -m)
# Fixes
+ ifeq ($(TEC_SYSNAME), Haiku)
+ TEC_SYSARCH:=$(shell uname -p)
+ endif
ifeq ($(TEC_SYSNAME), SunOS)
TEC_SYSARCH:=$(shell uname -p)
endif
@@ -1177,7 +1180,9 @@ ifdef USE_X11
STDINCS += $(X11_INC)
endif