$NetBSD: patch-lib_SConscript,v 1.2 2015/03/15 04:51:31 ryoon Exp $ --- lib/SConscript.orig 2012-12-31 17:03:38.000000000 +0000 +++ lib/SConscript @@ -18,7 +18,7 @@ env = mypaintlib_env # I have given up. Scons just can't get the dependencies right with those # code generators. Let's give scons a "normal" c++ project to dependency-scan. swig_opts = '-DHAVE_GEGL' if env['enable_gegl'] else '' -if env.Execute('swig -o mypaintlib_wrap.cpp -noproxydel -python -c++ %s mypaintlib.i' % swig_opts): +if env.Execute('swig2.0 -o mypaintlib_wrap.cpp -noproxydel -python -c++ %s mypaintlib.i' % swig_opts): Exit(1) env.Clean('.', 'mypaintlib_wrap.cpp') env.Clean('.', 'mypaintlib.py')