summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2014-11-30 03:17:49 +0000
committermarkd <markd@pkgsrc.org>2014-11-30 03:17:49 +0000
commit982732352b54de9c9cd9fe5e4e4419fbbc6a0d42 (patch)
tree373c2b0a1178238b1154decf822b8bcb023ee3a4
parentb27686bddfab4a8881aa20e2b26b61aca01f891f (diff)
downloadpkgsrc-982732352b54de9c9cd9fe5e4e4419fbbc6a0d42.tar.gz
On Linux add ALSA support.
-rw-r--r--net/rdesktop/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/rdesktop/Makefile b/net/rdesktop/Makefile
index 2758d33e7dc..4463294b25e 100644
--- a/net/rdesktop/Makefile
+++ b/net/rdesktop/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2014/02/12 23:18:25 tron Exp $
+# $NetBSD: Makefile,v 1.44 2014/11/30 03:17:49 markd Exp $
DISTNAME= rdesktop-1.8.1
PKGREVISION= 1
@@ -31,6 +31,11 @@ SUBST_MESSAGE.audio= Fixing hardcoded audio device.
CONFIGURE_ARGS+= --with-sound=oss
.endif
+.if ${OPSYS} == "Linux"
+CONFIGURE_ARGS+= --with-sound=alsa
+.include "../../audio/alsa-lib/buildlink3.mk"
+.endif
+
.include "../../mk/oss.buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"