diff options
author | schwarz <schwarz@pkgsrc.org> | 2005-04-25 19:01:32 +0000 |
---|---|---|
committer | schwarz <schwarz@pkgsrc.org> | 2005-04-25 19:01:32 +0000 |
commit | f66302c3113c6a3f05b23b7a089cb8961cc0d4e1 (patch) | |
tree | ba2870c5ae3e63552e121d8151507e6aee72d55d /net/kphone | |
parent | 267cdf7757eb257288ecc5f45d686181f31fc93e (diff) | |
download | pkgsrc-f66302c3113c6a3f05b23b7a089cb8961cc0d4e1.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 |