--- Makefile.orig	Tue Jun  8 20:00:00 1993
+++ Makefile	Fri Mar 31 16:15:28 2000
@@ -1,9 +1,11 @@
 #	@(#)Makefile	8.1 (Berkeley) 6/8/93
 
 PROG=	xroach
-MAN6=	xroach.0
-CFLAGS+= -I${.CURDIR}/bitmaps
-DPADD=	${LIBX} ${LIBM}
-LDADD=	-lX11/X11 -lm
+MAN=	xroach.6
+
+DPADD+=		${X11BASE}/lib/libX11.a ${LIBM}
+CFLAGS+=	-I${X11BASE}/include -I${.CURDIR}/bitmaps
+LDDESTDIR+=	-L${X11BASE}/lib
+LDADD+=		${LDDESTDIR} -lX11 -lm
 
 .include <bsd.prog.mk>
