$NetBSD: patch-aa,v 1.3 1999/07/07 20:55:53 tron Exp $ --- Makefile.orig Thu Jan 11 10:55:40 1996 +++ Makefile Thu Jul 16 05:07:04 1998 @@ -26,6 +26,6 @@ LINK = $(CC) -INCLUDES = -I/usr/X11R5/include -LIB_DIRS = -L/usr/X11R5/lib -BINDIR = /usr/local/bin -MANDIR = /usr/local/man/man1 +INCLUDES = -I$(PREFIX)/include +LIB_DIRS = -L$(PREFIX)/lib -Wl,-R$(PREFIX)/lib +BINDIR = $(PREFIX)/bin +MANDIR = $(PREFIX)/man/man1 @@ -33,4 +33,6 @@ # feature. -AUDIO = -DAUDIO -AUDIO_MODULE = audio.o +# Note. Audio works. I have no soundcards at present though, so I cannot +# test it appropriately. +#AUDIO = -DAUDIO +#AUDIO_MODULE = audio.o @@ -38,3 +40,3 @@ -LIBS = $(LIB_DIRS) -lXt -lX11 -lm -lXext +LIBS = $(LIB_DIRS) -lXt -lX11 -lm -lXext -LSM -lcompat COPTS = $(CFLAGS) $(AUDIO)