summaryrefslogtreecommitdiff
path: root/multimedia/avidemux/patches/patch-cmake_admCheckMiscLibs.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/avidemux/patches/patch-cmake_admCheckMiscLibs.cmake')
-rw-r--r--multimedia/avidemux/patches/patch-cmake_admCheckMiscLibs.cmake16
1 files changed, 16 insertions, 0 deletions
diff --git a/multimedia/avidemux/patches/patch-cmake_admCheckMiscLibs.cmake b/multimedia/avidemux/patches/patch-cmake_admCheckMiscLibs.cmake
new file mode 100644
index 00000000000..2b63aba38c3
--- /dev/null
+++ b/multimedia/avidemux/patches/patch-cmake_admCheckMiscLibs.cmake
@@ -0,0 +1,16 @@
+$NetBSD: patch-cmake_admCheckMiscLibs.cmake,v 1.1 2011/02/17 09:20:17 markd Exp $
+
+test for existence of JS_InitStandardClasses was failing but we
+know in pkgsrc context that it is good so dont bother testing
+
+--- cmake/admCheckMiscLibs.cmake.orig 2010-09-19 23:32:24.000000000 +0000
++++ cmake/admCheckMiscLibs.cmake
+@@ -96,7 +96,7 @@ MESSAGE(STATUS "Checking for SpiderMonke
+ MESSAGE(STATUS "*************************")
+
+ IF (USE_SYSTEM_SPIDERMONKEY)
+- FIND_HEADER_AND_LIB(SPIDERMONKEY jsapi.h js JS_InitStandardClasses)
++ FIND_HEADER_AND_LIB(SPIDERMONKEY jsapi.h js)
+ PRINT_LIBRARY_INFO("SpiderMonkey" SPIDERMONKEY_FOUND "${SPIDERMONKEY_INCLUDE_DIR}" "${SPIDERMONKEY_LIBRARY_DIR}" FATAL_ERROR)
+ ELSE (USE_SYSTEM_SPIDERMONKEY)
+ MESSAGE("Skipping check and using bundled version.")