summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscuri <scuri>2011-05-27 01:24:09 +0000
committerscuri <scuri>2011-05-27 01:24:09 +0000
commit859994e060e7fd6bf72c019ca4b762c5508bf55e (patch)
tree14547318d45d7e89bafd0cc45852cd8734690fc8
parent1756530149a0a0bc2611b5ed75c3d42f85adce51 (diff)
*** empty log message ***
-rw-r--r--tecmake.mak15
1 files changed, 11 insertions, 4 deletions
diff --git a/tecmake.mak b/tecmake.mak
index 2716528..ab20be7 100644
--- a/tecmake.mak
+++ b/tecmake.mak
@@ -458,10 +458,13 @@ ifdef GTK_BASE
GTK := $(GTK_BASE)
else
ifneq ($(findstring MacOS, $(TEC_UNAME)), )
- # Option 1 - Fink GTK port
+ # Prefer using GTK_BASE then changing this
+ # Fink GTK port
GTK = /sw
- # Option 3 - GTK-OSX Framework
- # GTK := /Users/cpts/gtk/inst
+ # Macport GTK port
+ # GTK = /opt/local
+ # GTK-OSX Framework
+ # GTK := /gtk/inst
else
GTK = /usr
endif
@@ -981,7 +984,11 @@ ifdef USE_GTK
ifndef NO_OVERRIDE
override USE_X11 = Yes
endif
- LIBS += gtk-x11-2.0 gdk-x11-2.0 pangox-1.0
+ ifdef GTK_MAC
+ LIBS += gtk-quartz-2.0 gdk-quartz-2.0 pango-1.0
+ else
+ LIBS += gtk-x11-2.0 gdk-x11-2.0 pangox-1.0
+ endif
# Option 2 - Imendio Framework
# STDINCS += /Library/Frameworks/Gtk.framework/Headers
# STDINCS += /Library/Frameworks/GLib.framework/Headers