diff options
Diffstat (limited to 'net-libs/libproxy/files/libproxy-0.4.12-mozjs.pc.patch')
-rw-r--r-- | net-libs/libproxy/files/libproxy-0.4.12-mozjs.pc.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net-libs/libproxy/files/libproxy-0.4.12-mozjs.pc.patch b/net-libs/libproxy/files/libproxy-0.4.12-mozjs.pc.patch new file mode 100644 index 000000000000..bf69fc31d939 --- /dev/null +++ b/net-libs/libproxy/files/libproxy-0.4.12-mozjs.pc.patch @@ -0,0 +1,23 @@ +--- a/libproxy/cmake/modules/pacrunner_mozjs.cmk 2011-06-20 04:31:41.000000000 -0600 ++++ b/libproxy/cmake/modules/pacrunner_mozjs.cmk 2013-03-24 19:20:17.910765954 -0600 +@@ -9,12 +9,18 @@ + elseif(NOT APPLE) + option(WITH_MOZJS "Search for MOZJS package" ON) + if (WITH_MOZJS) +- pkg_search_module(MOZJS mozjs185) ++ pkg_search_module(MOZJS mozjs187) + if(MOZJS_FOUND) + include_directories(${MOZJS_INCLUDE_DIRS}) + link_directories(${MOZJS_LIBRARY_DIRS}) + else() +- set(MOZJS_FOUND 0) ++ pkg_search_module(MOZJS mozjs185) ++ if(MOZJS_FOUND) ++ include_directories(${MOZJS_INCLUDE_DIRS}) ++ link_directories(${MOZJS_LIBRARY_DIRS}) ++ else() ++ set(MOZJS_FOUND 0) ++ endif() + endif() + else() + set(MOZJS_FOUND 0) |