[Midnightbsd-cvs] mports [16070] trunk/www/midori/files: cmake patch set
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Tue Mar 18 00:20:14 EDT 2014
Revision: 16070
http://svnweb.midnightbsd.org/mports/?rev=16070
Author: laffer1
Date: 2014-03-18 00:20:13 -0400 (Tue, 18 Mar 2014)
Log Message:
-----------
cmake patch set
Added Paths:
-----------
trunk/www/midori/files/patch-CMakeLists.txt
trunk/www/midori/files/patch-cmake__GtkDoc.cmake
trunk/www/midori/files/patch-extensions__CMakeLists.txt
Added: trunk/www/midori/files/patch-CMakeLists.txt
===================================================================
--- trunk/www/midori/files/patch-CMakeLists.txt (rev 0)
+++ trunk/www/midori/files/patch-CMakeLists.txt 2014-03-18 04:20:13 UTC (rev 16070)
@@ -0,0 +1,10 @@
+--- ./CMakeLists.txt.orig 2014-01-15 20:43:34.000000000 +0000
++++ ./CMakeLists.txt 2014-01-15 22:50:54.000000000 +0000
+@@ -100,6 +100,7 @@
+ string(FIND ${CMAKE_SYSTEM_NAME} "BSD" BEGIN)
+ if (${BEGIN} GREATER 0)
+ string(SUBSTRING ${CMAKE_SYSTEM_NAME} ${BEGIN} 3 BSD)
++ set(BSD 1 CACHE INTERNAL BOOL FORCE)
+ else()
+ set(BSD 0)
+ endif()
Added: trunk/www/midori/files/patch-cmake__GtkDoc.cmake
===================================================================
--- trunk/www/midori/files/patch-cmake__GtkDoc.cmake (rev 0)
+++ trunk/www/midori/files/patch-cmake__GtkDoc.cmake 2014-03-18 04:20:13 UTC (rev 16070)
@@ -0,0 +1,11 @@
+--- ./cmake/GtkDoc.cmake.orig 2013-11-20 01:26:52.000000000 +0000
++++ ./cmake/GtkDoc.cmake 2013-11-21 16:30:38.000000000 +0000
+@@ -52,7 +52,7 @@
+ file (MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${module}/html")
+ gtkdoc_build (${module})
+
+- set (DOC_DIR "html/midori-${MIDORI_MAJOR_VERSION}-${MIDORI_MINOR_VERSION}")
++ set (DOC_DIR "html/midori-${MIDORI_MAJOR_VERSION}.${MIDORI_MINOR_VERSION}")
+ install (DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${module}/html/"
+ DESTINATION "${CMAKE_INSTALL_DATADIR}/gtk-doc/${DOC_DIR}/${module}"
+ PATTERN "html/*"
Added: trunk/www/midori/files/patch-extensions__CMakeLists.txt
===================================================================
--- trunk/www/midori/files/patch-extensions__CMakeLists.txt (rev 0)
+++ trunk/www/midori/files/patch-extensions__CMakeLists.txt 2014-03-18 04:20:13 UTC (rev 16070)
@@ -0,0 +1,14 @@
+--- ./extensions/CMakeLists.txt.orig 2014-01-15 20:43:34.000000000 +0000
++++ ./extensions/CMakeLists.txt 2014-01-15 22:52:29.000000000 +0000
+@@ -24,6 +24,11 @@
+ "nsplugin-manager.vala"
+ )
+ endif ()
++if (BSD)
++ list(REMOVE_ITEM EXTENSIONS
++ "devpet.vala"
++ )
++endif ()
+
+ foreach(UNIT_SRC ${EXTENSIONS})
+ string(FIND ${UNIT_SRC} ".c" UNIT_EXTENSION)
More information about the Midnightbsd-cvs
mailing list