updated on Fri Jan 6 00:09:29 UTC 2012
[aur-mirror.git] / iup / makfiles.patch
blob10f41d1e9216300667dddc69c47e5b028cf17ff3
1 --- ./tecmake.mak.orig 2010-06-26 19:31:33.000000000 +0200
2 +++ ./tecmake.mak 2010-07-22 09:21:01.000000000 +0200
3 @@ -686,12 +686,13 @@
4 endif
6 ifdef USE_LUA
7 - LUA_LIB ?= $(LUA)/lib/$(TEC_UNAME_LIB_DIR)
8 + LUA_LIB = /usr/lib
9 +# LUA_LIB ?= $(LUA)/lib/$(TEC_UNAME_LIB_DIR)
10 ifdef USE_STATIC
11 ifndef NO_LUALIB
12 SLIB += $(LUA_LIB)/liblualib$(LUASUFX).a
13 endif
14 - SLIB += $(LUA_LIB)/liblua$(LUASUFX).a
15 + SLIB += $(LUA_LIB)/liblua.a
16 else
17 ifndef NO_LUALIB
18 LIBS += lualib$(LUASUFX)
19 @@ -701,7 +702,7 @@
20 LDIR += $(LUA_LIB)
21 else
22 ifneq ($(findstring cygw, $(TEC_UNAME)), )
23 - LIBS += lua$(LUASUFX)
24 + LIBS += lua
25 LDIR += $(LUA_LIB)
26 endif
27 endif
28 @@ -783,7 +784,7 @@
29 SLIB += $(CD)/lib/$(TEC_UNAME_LIB_DIR)/libcdcairo.a
30 LIBS += pangocairo-1.0 cairo
31 endif
32 - SLIB += $(CD)/lib/$(TEC_UNAME_LIB_DIR)/libcd$(CDSUFX).a
33 + SLIB += -lcd
34 ifndef USE_GTK
35 # Freetype is already included in GTK
36 SLIB += $(CD)/lib/$(TEC_UNAME_LIB_DIR)/libfreetype.a
37 @@ -807,17 +808,17 @@
38 LIBS += freetype
39 endif
40 endif
41 - INCLUDES += $(CD)/include
42 + INCLUDES += /usr/include/cd
43 endif
45 ifdef USE_IM
46 ifdef USE_STATIC
47 - SLIB += $(IM)/lib/$(TEC_UNAME_LIB_DIR)/libim.a
48 + SLIB += /usr/lib/libim.a
49 else
50 LIBS += im
51 LDIR += $(IM)/lib/$(TEC_UNAME_LIB_DIR)
52 endif
53 - INCLUDES += $(IM)/include
54 + INCLUDES += /usr/include/im
55 endif
57 ifdef USE_GLUT