diff options
author | schwarz <schwarz> | 2005-04-25 19:01:32 +0000 |
---|---|---|
committer | schwarz <schwarz> | 2005-04-25 19:01:32 +0000 |
commit | 625d98636a7696da14c49b4501fd13f0f0ab67c9 (patch) | |
tree | ba2870c5ae3e63552e121d8151507e6aee72d55d /net/kphone | |
parent | 6d792e34b89cef252f026298c5e0236351a7dc84 (diff) | |
download | pkgsrc-625d98636a7696da14c49b4501fd13f0f0ab67c9.tar.gz |
added option for Alsa support. Changes approved by tron.
Diffstat (limited to 'net/kphone')
-rw-r--r-- | net/kphone/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/net/kphone/Makefile b/net/kphone/Makefile index dcd8bfcd28b..79dd972f95b 100644 --- a/net/kphone/Makefile +++ b/net/kphone/Makefile @@ -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 @@ CONFIGURE_ENV+= QTDIR="${QTDIR}" 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 |