freebsd-ports/graphics/mypaint/files/patch-brushlib-tests-SConscript
Pawel Pekala 3f5315156c - Update to version 1.1.0 [1]
- Respect CFLAGS
- Remove Author tag from pkg-descr

PR:		ports/175223 [1]
Submitted by:	Vitaly Magerya <vmagerya@gmail.com> [1]
Approved by:	maintainer timeout
Feature safe:	yes
2013-04-17 16:40:51 +00:00

14 lines
657 B
Text

--- brushlib/tests/SConscript.orig 2012-12-31 19:03:38.000000000 +0200
+++ brushlib/tests/SConscript 2013-03-29 20:06:21.000000000 +0200
@@ -13,8 +13,9 @@
tests_sources = [fn for fn in os.listdir("./") if is_test(fn) and is_csource(fn)]
testlib_sources = [fn for fn in os.listdir("./") if not is_test(fn) and is_csource(fn)]
-testlib_env.Append(LIBS=['mypaint'])
-testlib_env.Append(CPPPATH=['../'], LIBPATH=['../..'])
+testlib_env.Append(LIBS=['intl', 'mypaint'])
+testlib_env.Append(CPPPATH=['../'])
+testlib_env.Prepend(LIBPATH=['../..'])
if testlib_env['enable_gperftools']:
testlib_env.ParseConfig('pkg-config --cflags --libs libprofiler')