$NetBSD: patch-ap,v 1.1 2003/05/03 20:57:03 jmc Exp $ --- mred/Makefile.in.orig Fri May 2 12:59:38 2003 +++ mred/Makefile.in Fri May 2 13:00:17 2003 @@ -20,7 +20,7 @@ OPTIONS = @OPTIONS@ @MROPTIONS@ COMPFLAGS = @CFLAGS@ @PROFFLAGS@ XINCLUDE = @X_CFLAGS@ -XLIB = @X_LIBS@ +XLIB = @X_LIBS@ ${RPATH_FLAG}${PREFIX}/lib LDLIBS = @X_PRE_LIBS@ -lXaw -lXmu -lXt -lX11 -lXext @X_EXTRA_LIBS@ @LIBS@ GCDIRECTORY = @GCDIR@ WBUILD = @WBUILD@