diff options
-rw-r--r-- | audio/libcanberra/Makefile | 8 | ||||
-rw-r--r-- | audio/libcanberra/PLIST | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/audio/libcanberra/Makefile b/audio/libcanberra/Makefile index fb0ad3a7fb7..4b6a9a6d6f4 100644 --- a/audio/libcanberra/Makefile +++ b/audio/libcanberra/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2010/09/14 11:00:56 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2010/09/21 01:16:28 obache Exp $ # DISTNAME= libcanberra-0.22 @@ -32,6 +32,8 @@ CONFIGURE_ENV+= ac_cv_lib_ltdl_lt_dladvise_init=yes # for more detail, see also PR#41475. TOOLS_NOOP+= gtkdoc-rebase +PLIST_VARS+= oss + #.include "../../devel/libltdl/convenience.mk" .include "../../devel/libltdl/buildlink3.mk" .include "../../devel/GConf/schemas.mk" @@ -39,4 +41,8 @@ TOOLS_NOOP+= gtkdoc-rebase .include "../../multimedia/gstreamer0.10/buildlink3.mk" .include "../../x11/gtk2/buildlink3.mk" .include "../../audio/libvorbis/buildlink3.mk" +.include "../../mk/oss.buildlink3.mk" +.if ${OSS_TYPE} != "none" +PLIST.oss= yes +.endif .include "../../mk/bsd.pkg.mk" diff --git a/audio/libcanberra/PLIST b/audio/libcanberra/PLIST index e51d7da80a3..041ed25e283 100644 --- a/audio/libcanberra/PLIST +++ b/audio/libcanberra/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.5 2009/10/29 17:51:09 drochner Exp $ +@comment $NetBSD: PLIST,v 1.6 2010/09/21 01:16:28 obache Exp $ bin/canberra-gtk-play include/canberra-gtk.h include/canberra.h @@ -6,7 +6,7 @@ lib/gtk-2.0/modules/libcanberra-gtk-module.la lib/${PKGNAME}/libcanberra-gstreamer.la lib/${PKGNAME}/libcanberra-multi.la lib/${PKGNAME}/libcanberra-null.la -lib/${PKGNAME}/libcanberra-oss.la +${PLIST.oss}lib/${PKGNAME}/libcanberra-oss.la lib/libcanberra-gtk.la lib/libcanberra.la lib/pkgconfig/libcanberra-gtk.pc |