--- Makefile.orig	2008-04-07 03:12:33.000000000 +0200
+++ Makefile	2008-04-07 03:11:15.000000000 +0200
@@ -179,13 +179,13 @@
 JP2K    = -DDOJP2K
 ###
 #JP2KDIR = ../../jasper
-JP2KDIR = /usr/local/lib
+JP2KDIR = /usr
 ###
-#JP2KINC = -I$(JP2KDIR)
-JP2KINC = -I/usr/local/include
+JP2KINC = -I$(JP2KDIR)/include
+#JP2KINC = -I/usr/local/include
 ###
-#JP2KLIB = -L$(JP2KDIR) -ljasper
-JP2KLIB = $(JP2KDIR)/libjasper.a
+JP2KLIB = -L$(JP2KDIR)/lib -ljasper
+#JP2KLIB = $(JP2KDIR)/libjasper.a
 
 
 ###
@@ -207,6 +207,9 @@
 
 #----------Machine-Specific Configurations----------
 
+### If you are using a MacOS X/darwin system, uncomment the following line
+MCHN = -D__DARWIN__
+
 ### If you are using a BeOS system, uncomment the following line
 #MCHN = -DUSE_GETCWD -I/usr/X11/include -L/usr/X11/lib
 ###
@@ -279,7 +282,7 @@
 
 # if your machine has the usleep() function, uncomment the following line:
 # if it doesn't, or you're not sure, leave this line alone.
-#TIMERS = -DUSLEEP
+TIMERS = -DUSLEEP
 
 
 # if XV locks up whenever you click on *any* of the buttons, the Timer()
