--- src/clients/vistest/wscript.orig	2015-10-22 02:04:11.000000000 -0700
+++ src/clients/vistest/wscript	2015-10-22 02:08:31.000000000 -0700
@@ -23,12 +23,12 @@
             t.install_path = None
 
 
-    if bld.env.LIB_vorbisenc:
+    if bld.env.LIB_vorbisenc and bld.env.LIB_vorbis and bld.env.LIB_ogg:
         t = bld(features = 'c cprogram',
             target = 'xmms2-ripper',
             source = 'ripper.c',
             includes = '. ../../.. ../../include',
-            uselib = 'vorbisenc',
+            uselib = 'vorbisenc vorbis ogg',
             use = 'xmmsclient'
             )
         if not bld.env.INSTALL_VIS_REFERENCE_CLIENTS:
@@ -55,6 +55,10 @@
 
     conf.check_cfg(package='vorbisenc', uselib_store='vorbisenc',
             args='--cflags --libs', mandatory=False)
+    conf.check_cfg(package='vorbis', uselib_store='vorbis',
+            args='--cflags --libs', mandatory=False)
+    conf.check_cfg(package='ogg', uselib_store='ogg',
+            args='--cflags --libs', mandatory=False)
 
     if conf.check_cfg(package='libvisual-0.4', uselib_store='visual',
             args='--cflags --libs', mandatory=False):