aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorolivierd <olivierd@FreeBSD.org>2014-01-02 23:19:00 +0800
committerolivierd <olivierd@FreeBSD.org>2014-01-02 23:19:00 +0800
commit47fb771b73d55a3ed28d93a99408f17f15a6177d (patch)
tree3695f8080604c76e5fe1c9f46f47bd1613e76045 /www
parent783dc661160e8bac0ca4a92e537db74d82ca5614 (diff)
downloadfreebsd-ports-gnome-47fb771b73d55a3ed28d93a99408f17f15a6177d.tar.gz
freebsd-ports-gnome-47fb771b73d55a3ed28d93a99408f17f15a6177d.tar.zst
freebsd-ports-gnome-47fb771b73d55a3ed28d93a99408f17f15a6177d.zip
- Fix CMake error introduces with revision r334518
CMake Error at extensions/CMakeLists.txt:28 (string): string begin index: -1 is out of range 0 - 9 - Bump PORTREVISION
Diffstat (limited to 'www')
-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"