diff options
author | augustss <augustss@pkgsrc.org> | 1997-10-29 18:03:23 +0000 |
---|---|---|
committer | augustss <augustss@pkgsrc.org> | 1997-10-29 18:03:23 +0000 |
commit | 89d9ac7fc90e21ae3af5d8fe910119e2be8694a6 (patch) | |
tree | 7e3b903001381c8ca4893bc12ddb88279ba9915d | |
parent | 408ff9b3b93ebf5ebdc09f491cc54a1b3246d9da (diff) | |
download | pkgsrc-89d9ac7fc90e21ae3af5d8fe910119e2be8694a6.tar.gz |
NetBSD port.
-rw-r--r-- | audio/cam/Makefile | 5 | ||||
-rw-r--r-- | audio/cam/patches/patch-ab | 28 |
2 files changed, 32 insertions, 1 deletions
diff --git a/audio/cam/Makefile b/audio/cam/Makefile index 3dde03654b9..4a40184fe7d 100644 --- a/audio/cam/Makefile +++ b/audio/cam/Makefile @@ -3,7 +3,7 @@ # Date created: Tue Nov 12 15:54:21 CST 1996 # Whom: erich@FreeBSD.org # -# $Id: Makefile,v 1.1.1.1 1997/10/28 23:18:23 augustss Exp $ +# $NetBSD: Makefile,v 1.2 1997/10/29 18:03:23 augustss Exp $ # DISTNAME= cam-1.02 @@ -12,6 +12,9 @@ MASTER_SITES= ${MASTER_SITE_SUNSITE} MASTER_SITE_SUBDIR= apps/sound/mixers EXTRACT_SUFX= .tgz +BUILD_DEPENDS= ${PREFIX}/lib/libncurses.a:${PORTSDIR}/devel/ncurses + +# FreeBSD maintainer MAINTAINER= erich@FreeBSD.org .include <bsd.port.mk> diff --git a/audio/cam/patches/patch-ab b/audio/cam/patches/patch-ab new file mode 100644 index 00000000000..e0d47098d0d --- /dev/null +++ b/audio/cam/patches/patch-ab @@ -0,0 +1,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 |