$OpenBSD: patch-Makefile,v 1.2 2004/01/24 23:06:35 naddy Exp $
--- Makefile.orig	1996-06-03 22:47:02.000000000 +0200
+++ Makefile	2004-01-24 23:52:27.000000000 +0100
@@ -8,8 +8,6 @@
 #### Defines that are applicable to makes on all architectures
 SHELL		=	/bin/sh
 TARGETS		=	xevil #xshow
-DEBUG_OPT	=	-O #-g#  #-DPRINT_ERRORS  
-LINK_OPT	=	-O
 
 #SRC_DIR and WORK_DIR are only used for `make workdir`
 SRC_DIR		= 	/mit/hardts/src/X/xevil1.4.9
@@ -94,8 +92,8 @@ ds:
 
 
 freebsd:
-	@$(MAKE) CC="c++" CFLAGS="-DUSE_RANDOM -DPROTECTED_IS_PUBLIC" \
-INCL_DIRS=-I/usr/X11R6/include LIBS_DIRS=-L/usr/X11R6/lib \
+	@$(MAKE) CC="${CXX}" CFLAGS="${CXXFLAGS} -DUSE_RANDOM -DPROTECTED_IS_PUBLIC" \
+INCL_DIRS=-I${X11BASE}/include LIBS_DIRS=-L${X11BASE}/lib \
 LIBS="-lX11 -lm" $(TARGETS)
 
 
