--- makeinclude.in.orig	2004-05-05 02:07:57.000000000 -0400
+++ makeinclude.in	2007-04-11 19:41:21.000000000 -0400
@@ -21,6 +21,7 @@
 CXXFLAGS_D	=@CXXFLAGS_D@
 
 # libraries to link with:
-LDLIBS	=@LIBS@ -lfltk -lXinerama -lGL -lGLU -lX11 -lXext @X_EXTRA_LIBS@ -lm
+LDLIBS	=@LIBS@ -lfltk -framework ApplicationServices -framework Carbon
+LDFLAGS =@LDFLAGS@
 
 INSTALL	=@INSTALL@
