svn commit: r414867 - in head/chinese/libchewing: . files

Li-Wen Hsu lwhsu at FreeBSD.org
Mon May 9 16:47:46 UTC 2016


Author: lwhsu
Date: Mon May  9 16:47:45 2016
New Revision: 414867
URL: https://svnweb.freebsd.org/changeset/ports/414867

Log:
  - Fix runtime error caused by wrong CHEWING_DATADIR
  
  Submitted by:	Ting-Wei Lan <lantw44 at gmail.com>

Modified:
  head/chinese/libchewing/Makefile
  head/chinese/libchewing/files/patch-CMakeLists.txt

Modified: head/chinese/libchewing/Makefile
==============================================================================
--- head/chinese/libchewing/Makefile	Mon May  9 16:42:17 2016	(r414866)
+++ head/chinese/libchewing/Makefile	Mon May  9 16:47:45 2016	(r414867)
@@ -4,6 +4,7 @@
 PORTNAME=	libchewing
 PORTVERSION=	0.5.0
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	chinese textproc
 
 MAINTAINER=	ports at FreeBSD.org

Modified: head/chinese/libchewing/files/patch-CMakeLists.txt
==============================================================================
--- head/chinese/libchewing/files/patch-CMakeLists.txt	Mon May  9 16:42:17 2016	(r414866)
+++ head/chinese/libchewing/files/patch-CMakeLists.txt	Mon May  9 16:47:45 2016	(r414867)
@@ -1,4 +1,4 @@
---- CMakeLists.txt.orig	2016-05-09 02:23:35 UTC
+--- CMakeLists.txt.orig	2016-05-09 16:30:03 UTC
 +++ CMakeLists.txt
 @@ -140,6 +140,7 @@ set(libdir "\${exec_prefix}/lib")
  set(includedir "\${prefix}/include")
@@ -21,3 +21,12 @@
  endif()
  
  
+@@ -362,7 +359,7 @@ add_library(chewing OBJECT
+     ${SRC_DIR}/bopomofo.c
+ )
+ set_target_properties(chewing PROPERTIES
+-    COMPILE_DEFINITIONS "CHEWING_DATADIR=\"${CMAKE_INSTALL_DATADIR}/libchewing\""
++    COMPILE_DEFINITIONS "CHEWING_DATADIR=\"${CMAKE_INSTALL_FULL_DATADIR}/libchewing\""
+ )
+ 
+ if (WITH_SQLITE3)


More information about the svn-ports-head mailing list