blob: e0d47098d0dbb0c72562a447e11c7c7d5bc4a811 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
diff -u ../../work/cam-1.02/Makefile ./Makefile
--- ../../work/cam-1.02/Makefile Wed Oct 29 18:59:28 1997
+++ ./Makefile Wed Oct 29 18:54:20 1997
@@ -6,7 +6,8 @@
CC = gcc
CFLAGS = -Wall -O2
-LIBS = -lncurses
+CFLAGS+= -I${PREFIX}/include
+LIBS = -L${PREFIX}/lib -lncurses -lossaudio
INSTALL = install
BINDIR = ${PREFIX}/bin
MANFILE= cam.1
diff -u ../../work/cam-1.02/cam.h ./cam.h
--- ../../work/cam-1.02/cam.h Wed Oct 29 18:59:27 1997
+++ ./cam.h Wed Oct 29 18:43:33 1997
@@ -23,8 +23,10 @@
#include <stdio.h>
#include <ncurses.h>
#include <signal.h>
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__)
#include <machine/soundcard.h>
+#elif defined(__NetBSD__)
+#include <soundcard.h>
#else
#include <sys/soundcard.h>
#endif
|