diff options
author | wiz <wiz@pkgsrc.org> | 2005-05-31 16:28:54 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-05-31 16:28:54 +0000 |
commit | 21f7493267883663545e62b7f5671c688eaf574c (patch) | |
tree | 8353f28e1b8cb0a52b29f30330c186528c9848eb /audio | |
parent | 24b2caa7b8be9eda20ba6ee38a185a68230e0ad9 (diff) | |
download | pkgsrc-21f7493267883663545e62b7f5671c688eaf574c.tar.gz |
Convert to options framework.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/xmms/Makefile.common | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/audio/xmms/Makefile.common b/audio/xmms/Makefile.common index 5da725251b9..ae2f15d17e1 100644 --- a/audio/xmms/Makefile.common +++ b/audio/xmms/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.17 2005/05/22 20:07:40 jlam Exp $ +# $NetBSD: Makefile.common,v 1.18 2005/05/31 16:28:54 wiz Exp $ # DISTNAME= xmms-1.2.10 @@ -21,8 +21,6 @@ DISTINFO_FILE= ${.CURDIR}/../../audio/xmms/distinfo FILESDIR= ${.CURDIR}/../../audio/xmms/files PATCHDIR= ${.CURDIR}/../../audio/xmms/patches -BUILD_DEFS+= USE_INET6 - CONFIGURE_ARGS+= --without-gnome SHLIBTOOL_OVERRIDE= libtool @@ -31,14 +29,19 @@ CPPFLAGS+= -DHAVE_ICONV_OPEN=1 CONFIGURE_ENV+= ac_cv_func_iconv_open=yes LDFLAGS+= ${BUILDLINK_LDADD.iconv} -.include "../../mk/bsd.prefs.mk" - PTHREAD_OPTS+= require -.if defined(USE_INET6) && ${USE_INET6} == YES +PKG_OPTIONS_VAR= PKG_OPTIONS.xmms +PKG_SUPPORTED_OPTIONS= inet6 + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Minet6) CONFIGURE_ARGS+= --enable-ipv6 .endif +.include "../../mk/bsd.prefs.mk" + .if ${OPSYS} == "NetBSD" RAWPART_cmd= /sbin/sysctl -n kern.rawpartition | ${TR} 0-9 a-j CONFIGURE_ARGS+= --with-dev-dsp=${DEVOSSSOUND} \ |