$NetBSD: patch-ag,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $ --- xep/Makefile.aimk.orig Fri Aug 7 00:47:14 1998 +++ xep/Makefile.aimk Fri Aug 7 00:48:49 1998 @@ -26,4 +26,4 @@ XLIBS = -lXaw -lXmu -lXext -lXt -lX11 -XCFLAGS = -I/usr/local/X11R5/include -I/usr/local/X11/include \ - -L/usr/local/X11R5/lib -L/usr/local/X11/lib +XCFLAGS = -I$(X11BASE)/include -Wl,-R$(X11BASE)/lib \ + -L$(X11BASE)/lib