pkgsrc/mail/coolmail/patches/patch-aa

30 lines
818 B
Text
Raw Normal View History

$NetBSD: patch-aa,v 1.5 2005/10/22 16:17:14 rillig Exp $
1998-08-07 13:08:53 +02:00
--- 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)