pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/kphone added option for Alsa support. Changes appr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7f8c8b108d51
branches:  trunk
changeset: 493026:7f8c8b108d51
user:      schwarz <schwarz%pkgsrc.org@localhost>
date:      Mon Apr 25 19:01:32 2005 +0000

description:
added option for Alsa support. Changes approved by tron.

diffstat:

 net/kphone/Makefile |  13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 146ee54d1f70 -r 7f8c8b108d51 net/kphone/Makefile
--- a/net/kphone/Makefile       Mon Apr 25 18:03:30 2005 +0000
+++ b/net/kphone/Makefile       Mon Apr 25 19:01:32 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2005/04/14 13:46:04 schwarz Exp $
+# $NetBSD: Makefile,v 1.8 2005/04/25 19:01:32 schwarz Exp $
 
 DISTNAME=              kphone-4.1.0
 CATEGORIES=            net comms
@@ -19,6 +19,17 @@
 PTHREAD_OPTS+=         require
 PTHREAD_AUTO_VARS=     yes
 
+PKG_SUPPORTED_OPTIONS= alsa
+PKG_OPTIONS_VAR=       PKG_OPTIONS.kphone
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Malsa)
+CONFIGURE_ARGS+=       --enable-alsa=yes
+.else
+CONFIGURE_ARGS+=       --enable-alsa=no
+.endif
+
 do-install:
        @${INSTALL_PROGRAM} ${WRKSRC}/kphone/kphone ${PREFIX}/bin
        ${INSTALL_DATA_DIR} ${PREFIX}/share/kphone/icons



Home | Main Index | Thread Index | Old Index