Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 May 2016 16:47:45 +0000 (UTC)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r414867 - in head/chinese/libchewing: . files
Message-ID:  <201605091647.u49GljLZ044013@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605091647.u49GljLZ044013>