aboutsummaryrefslogtreecommitdiff
path: root/www/midori
diff options
context:
space:
mode:
authorOlivier Duchateau <olivierd@FreeBSD.org>2014-01-02 15:19:00 +0000
committerOlivier Duchateau <olivierd@FreeBSD.org>2014-01-02 15:19:00 +0000
commita61beae3f48efad3ff2e6165af2ab129a2204bea (patch)
tree3695f8080604c76e5fe1c9f46f47bd1613e76045 /www/midori
parenta9243a1b6e27ec0dbea1edaa11d9a173a2784b98 (diff)
downloadports-a61beae3f48efad3ff2e6165af2ab129a2204bea.tar.gz
ports-a61beae3f48efad3ff2e6165af2ab129a2204bea.zip
Notes
Diffstat (limited to 'www/midori')
-rw-r--r--www/midori/Makefile1
-rw-r--r--www/midori/files/patch-extensions__CMakeLists.txt10
2 files changed, 7 insertions, 4 deletions
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"