freebsd-ports/graphics/mypaint/files/patch-brushlib-SConscript
Adam Weinberger dea396af63 Fix build after json-c update.
The plist still has some issues, namely trying to remove share/icons/hicolor
directories.
2014-08-20 15:39:50 +00:00

28 lines
760 B
Text

--- brushlib/SConscript.orig 2012-12-31 12:03:38.000000000 -0500
+++ brushlib/SConscript 2014-08-20 11:36:09.000000000 -0400
@@ -47,7 +47,7 @@
}
pc_file = env.Substfile('%s.pc' % pkgconfig_name,
"pkgconfig.pc.in", SUBST_DICT=pkg_info)
- install_perms(env, '$prefix/lib/pkgconfig', pc_file)
+ install_perms(env, '$prefix/libdata/pkgconfig', pc_file)
return pc_file
@@ -56,6 +56,7 @@
# and also add our own specifics ones without affecting the other builds
top_env = env
env = env.Clone()
+env.Prepend(LIBPATH=[".."])
if env['enable_introspection']:
env['use_glib'] = True
@@ -73,7 +74,7 @@
env.Append(CPPPATH='./')
-pkg_deps = ['json']
+pkg_deps = ['json-c']
libs = ['m']
linkflags = []