Switch ONLY_FOR_PLATFORM to NOT_FOR_PLATFORM and list the platforms known

not to support the Sun audio interface, as per mpg123-sun.

XXX: this knowledge should be centralized.
This commit is contained in:
dholland 2015-01-01 08:15:51 +00:00
parent c4d8a25948
commit 540b418644
2 changed files with 6 additions and 4 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2012/09/11 23:59:22 asau Exp $
# $NetBSD: Makefile,v 1.8 2015/01/01 08:15:51 dholland Exp $
#
PKGNAME= akode-plugins-sun-${AKODE_VERSION}
@ -8,7 +8,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Sun audio output plugin for akode framework
LICENSE= gnu-lgpl-v2
ONLY_FOR_PLATFORM+= NetBSD-*-* OpenBSD-*-* SunOS-*-*
# no support for the sun audio interface
NOT_FOR_PLATFORM+= DragonFly-*-* FreeBSD-*-* Linux-*-*
.include "../../audio/akode/Makefile.common"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2013/04/06 15:46:34 rodent Exp $
# $NetBSD: Makefile,v 1.9 2015/01/01 08:15:51 dholland Exp $
.include "../../audio/libao/Makefile.common"
@ -6,7 +6,8 @@ PKGNAME= ${DISTNAME:S/libao/libao-sun/}
COMMENT+= (Sun audio plugin)
ONLY_FOR_PLATFORM+= NetBSD-*-* SunOS-*-*
# no support for the sun audio interface
NOT_FOR_PLATFORM+= DragonFly-*-* FreeBSD-*-* Linux-*-*
CONFIGURE_ARGS:= ${CONFIGURE_ARGS:S/ENABLE_SUN_AUDIO=no/ENABLE_SUN_AUDIO=yes/g}
BUILD_DIRS= src/plugins/sun