--- src/Makevars.in.orig	2011-09-22 15:29:19.000000000 +0000
+++ src/Makevars.in	2011-09-22 15:29:44.000000000 +0000
@@ -1,7 +1,7 @@
 # we need to add JNI specific stuff here
-ifdef DEBUG
+.ifdef DEBUG
   PKG_CFLAGS+=-DJGD_DEBUG
-endif
+.endif
 PKG_CFLAGS+=@CFLAGS@
 PKG_CPPFLAGS+=@CPPFLAGS@ -I. -Iinclude
 PKG_LIBS+=@LDFLAGS@ @LIBS@