summaryrefslogtreecommitdiff
path: root/audio/cam/Makefile
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2004-06-02 20:28:59 +0000
committerjschauma <jschauma@pkgsrc.org>2004-06-02 20:28:59 +0000
commitcca49ac782f057011aba8dd0da0a64f7ae66330c (patch)
tree4f3d8caf99a6ae8a794eec5c1bdd6d846194812f /audio/cam/Makefile
parent83372cfaa62791b1d405460fdc19ba71bea6cdb0 (diff)
downloadpkgsrc-cca49ac782f057011aba8dd0da0a64f7ae66330c.tar.gz
Make this build on Linux.
Diffstat (limited to 'audio/cam/Makefile')
-rw-r--r--audio/cam/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/audio/cam/Makefile b/audio/cam/Makefile
index c8fb098c7c8..7738a9485b8 100644
--- a/audio/cam/Makefile
+++ b/audio/cam/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2004/03/31 10:40:29 minskim Exp $
+# $NetBSD: Makefile,v 1.17 2004/06/02 20:28:59 jschauma Exp $
#
DISTNAME= cam-1.02
@@ -18,6 +18,15 @@ NO_CONFIGURE= yes
INSTALLATION_DIRS= bin man/man1
+.include "../../mk/bsd.prefs.mk"
+
+CAMLIBS= -lcurses
+.if ${OPSYS} == "NetBSD"
+CAMLIBS+= -lossaudio
+.endif
+
+MAKE_ENV+= CAMLIBS="${CAMLIBS}"
+
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/ossaudio.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"