diff --git a/www/midori/Makefile b/www/midori/Makefile index 17dfeedd9b9c..3d4278a727b7 100644 --- a/www/midori/Makefile +++ b/www/midori/Makefile @@ -3,6 +3,7 @@ PORTNAME= midori PORTVERSION= 0.5.6 +PORTREVISION= 1 CATEGORIES= www xfce MASTER_SITES= http://www.midori-browser.org/downloads/ DISTNAME= ${PORTNAME}_${PORTVERSION}_all_ diff --git a/www/midori/files/patch-extensions__CMakeLists.txt b/www/midori/files/patch-extensions__CMakeLists.txt index 0065f7f6bbe4..9aab80735d8f 100644 --- a/www/midori/files/patch-extensions__CMakeLists.txt +++ b/www/midori/files/patch-extensions__CMakeLists.txt @@ -1,11 +1,13 @@ ---- ./extensions/CMakeLists.txt.orig 2013-09-17 10:59:53.000000000 +0000 -+++ ./extensions/CMakeLists.txt 2013-09-17 14:46:05.000000000 +0000 -@@ -24,6 +24,13 @@ +--- ./extensions/CMakeLists.txt.orig 2013-11-20 01:26:52.000000000 +0000 ++++ ./extensions/CMakeLists.txt 2014-01-02 16:00:24.000000000 +0000 +@@ -24,6 +24,15 @@ "nsplugin-manager.vala" ) endif () +string(FIND ${CMAKE_SYSTEM_NAME} "BSD" BEGIN) -+string(SUBSTRING ${CMAKE_SYSTEM_NAME} ${BEGIN} 3 BSD) ++if (${BEGIN} GREATER 0) ++ string(SUBSTRING ${CMAKE_SYSTEM_NAME} ${BEGIN} 3 BSD) ++endif () +if (BSD) + list(REMOVE_ITEM EXTENSIONS + "devpet.vala"