29 lines
818 B
Text
29 lines
818 B
Text
$NetBSD: patch-aa,v 1.5 2005/10/22 16:17:14 rillig 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$(X11BASE)/include
|
|
+LIB_DIRS = -L$(X11BASE)/lib -Wl,-R$(X11BASE)/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 $(EXTRA_LIBS)
|
|
COPTS = $(CFLAGS) $(AUDIO)
|