$NetBSD: patch-ab,v 1.4 1999/08/04 12:18:12 hubertf Exp $ --- src/Makefile.orig Sun Feb 7 01:25:16 1999 +++ src/Makefile Sun Feb 7 01:26:48 1999 @@ -3,13 +3,14 @@ # ############################################################################ VERSION = 2.1 -CC = gcc -CP = g++ +CC = gcc ${EVERYTHING} +CP = g++ ${EVERYTHING} OPTIONS = -Wall -g -pipe -fomit-frame-pointer \ - -DVERSION='"$(VERSION)"' + -DVERSION='"$(VERSION)"' \ + -DPREFIX=\"${PREFIX}\" -INCLUDE = -LIBS = -L/usr/X11R6/lib -lXpm -lX11 +INCLUDE = -I${X11BASE}/include +LIBS = -Wl,-R${X11BASE}/lib -L${X11BASE}/lib -lXpm -lX11 EVERYTHING = $(OPTIONS) $(INCLUDE) $(LIBS) ###############################