$NetBSD: patch-aa,v 1.3 2003/09/30 08:26:51 xtraeme Exp $

--- Makefile.orig	2003-09-30 10:18:48.000000000 +0200
+++ Makefile	2003-09-30 10:20:04.000000000 +0200
@@ -55,9 +55,9 @@
 ####################
 # C compiler options
 # GNU gcc is recommended.
-CC=gcc
+#CC=gcc
 # Use these with gcc
-CFLAGS=-g -Wall -W -fno-common -pedantic
+#CFLAGS+= -Wall -W -fno-common -pedantic
 
 # If you don't have gcc, don't use -Wall -W -fno-common
 #CFLAGS=-g
@@ -77,25 +77,25 @@
 #CFLAGS+=-DTEST_GAME
 
 ## Initial linker options
-LDFLAGS=
+#LDFLAGS=
 
 ## Installation prefix
 # Adjust to taste. Stuff gets installed here.
-PREFIX=/usr/local
+#PREFIX=/usr/local
 #PREFIX=/usr/local/X11
 
 ## X11 location and options
 # for X11R6
 # Point this at your X tree.
-XDIR=/usr/X11R6
+XDIR=${X11BASE}
 #XDIR=/usr/local/X11
 #XDIR=/usr/openwin
 
 # try Xaw if you don't have Xaw3d
 #XAW=Xaw
-XAW=Xaw3d
+XAW=${LIBXAW}
 
-XLIBS=-L$(XDIR)/lib -l$(XAW) -lXext -lXmu -lXt -lSM -lICE -lX11
+XLIBS=-L$(XDIR)/lib $(XAW) -lXext -lXmu -lXt -lSM -lICE -lX11
 
 XINC=-I$(XDIR)/include
 CFLAGS+=$(XINC)
