svn commit: r338445 - in head/www/midori: . files

Olivier Duchateau olivierd at FreeBSD.org
Thu Jan 2 15:19:01 UTC 2014


Author: olivierd
Date: Thu Jan  2 15:19:00 2014
New Revision: 338445
URL: http://svnweb.freebsd.org/changeset/ports/338445

Log:
  - 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

Modified:
  head/www/midori/Makefile
  head/www/midori/files/patch-extensions__CMakeLists.txt

Modified: head/www/midori/Makefile
==============================================================================
--- head/www/midori/Makefile	Thu Jan  2 14:50:14 2014	(r338444)
+++ head/www/midori/Makefile	Thu Jan  2 15:19:00 2014	(r338445)
@@ -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_

Modified: head/www/midori/files/patch-extensions__CMakeLists.txt
==============================================================================
--- head/www/midori/files/patch-extensions__CMakeLists.txt	Thu Jan  2 14:50:14 2014	(r338444)
+++ head/www/midori/files/patch-extensions__CMakeLists.txt	Thu Jan  2 15:19:00 2014	(r338445)
@@ -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"


More information about the svn-ports-all mailing list