Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/pkgsrc/audio/audacious-plugins/Makefile,v rcsdiff: /ftp/cvs/cvsroot/pkgsrc/audio/audacious-plugins/Makefile,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.1.1.1 retrieving revision 1.32 diff -u -p -r1.1.1.1 -r1.32 --- pkgsrc/audio/audacious-plugins/Makefile 2008/10/20 09:32:19 1.1.1.1 +++ pkgsrc/audio/audacious-plugins/Makefile 2012/09/15 10:03:31 1.32 @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.1.1.1 2008/10/20 09:32:19 wiz Exp $ +# $NetBSD: Makefile,v 1.32 2012/09/15 10:03:31 obache Exp $ # -DISTNAME= audacious-plugins-1.5.0 +DISTNAME= audacious-plugins-1.5.1 +PKGREVISION= 23 CATEGORIES= audio MASTER_SITES= http://distfiles.atheme.org/ EXTRACT_SUFX= .tgz @@ -11,7 +12,7 @@ HOMEPAGE= http://audacious-media-player COMMENT= Plugins for Audacious media player GNU_CONFIGURE= yes -USE_TOOLS+= gmake intltool pkg-config +USE_TOOLS+= gmake intltool pkg-config msgfmt USE_LIBTOOL= yes # This should avoid an error like: libstdc++.so.6: Undefined PLT symbol "_Unwind_GetIP" on NetBSD i386 and maybe amd64, with gcc4 at least. @@ -40,22 +41,25 @@ CONFIGURE_ARGS+= --disable-amidiplug --d .include "../../mk/bsd.prefs.mk" .include "options.mk" +PLIST_VARS+= oss sun oss4 + .if ${OPSYS} == "NetBSD" RAWPART_cmd= /sbin/sysctl -n kern.rawpartition | ${TR} 0-9 a-j CONFIGURE_ARGS+= --with-dev-dsp=${DEVOSSSOUND} \ --with-cdda-device=/dev/rcd0${RAWPART_cmd:sh} \ --with-cdda-dir=/cdrom/ -PLIST_SUBST+= OSS="" -PLIST_SUBST+= SUN="" +PLIST.oss= yes +PLIST.sun= yes .elif ${OPSYS} == "FreeBSD" -PLIST_SUBST+= OSS="" -PLIST_SUBST+= SUN="@comment " +PLIST.oss= yes .elif ${OPSYS} == "DragonFly" -PLIST_SUBST+= OSS="" -PLIST_SUBST+= SUN="@comment " +PLIST.oss= yes .elif ${OPSYS} == "SunOS" -PLIST_SUBST+= OSS="@comment " -PLIST_SUBST+= SUN="" +BUILDLINK_TRANSFORM+= rm:-Wl,-export-dynamic +CPPFLAGS.SunOS= -D__EXTENSIONS__ -D__uint32_t=uint32_t -D__uint64_t=uint64_t +CONFIGURE_ARGS+= --enable-oss4 +PLIST.oss4= yes +PLIST.oss= yes #.elif ${OPSYS} == "Linux" #. include "../../wip/alsa-lib/buildlink3.mk" #PKG_SUPPORTED_OPTIONS+= lirc