aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gnocl/files/patch-Makefile
blob: cf3ccf4bb75465dbf92754e18bffb776b019ad51 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- src/Makefile.orig	Tue Jun 15 14:05:05 2004
+++ src/Makefile	Tue Jun 15 14:05:49 2004
@@ -18,9 +18,9 @@
 # for releases use -Os, this makes the lib 15% smaller 
 CFLAGS += -Wall 
 
-TCL_VERSION := $(shell echo 'puts $$tcl_version' | tclsh)
+TCL_VERSION := 84
 
-export ADDCFLAGS := -DVERSION=\"$(VERSION)\" -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DUSE_TCL_STUBS $(shell pkg-config --cflags gtk+-2.0) 
+export ADDCFLAGS := -DVERSION=\"$(VERSION)\" -DUSE_TCL_STUBS $(shell pkg-config --cflags gtk+-2.0) 
 
 export LIBS := $(shell pkg-config --libs gtk+-2.0) -ltclstub$(TCL_VERSION)