freebsd-ports/graphics/mypaint/files/patch-brushlib_tests_SConscript
Mathieu Arnold 2fc6fe3088 Update to 1.2.0.
PR:		209297
Submitted by:	tkato432 yahoo com
Sponsored by:	Absolight
2016-05-09 13:43:20 +00:00

16 lines
722 B
Text

--- brushlib/tests/SConscript.orig 2016-01-15 19:42:55 UTC
+++ brushlib/tests/SConscript
@@ -15,11 +15,11 @@ tests_sources = [fn for fn in os.listdir
testlib_sources = [fn for fn in os.listdir("./") if not is_test(fn) and is_csource(fn)]
testlib_env.Append(LIBS=['mypaint'])
-if sys.platform == 'win32':
+if sys.platform == 'win32' or sys.platform.startswith("freebsd"):
testlib_env.Append(LIBS=['intl'])
elif sys.platform == "msys" and os.environ.get("MSYSTEM") != "MSYS":
testlib_env.Append(LIBS=['intl'])
-testlib_env.Append(CPPPATH=['../'], LIBPATH=['../'])
+testlib_env.Prepend(CPPPATH=['../'], LIBPATH=['../'])
if testlib_env['enable_gperftools']:
parse_pkg_config(testlib_env, "libprofiler")