From owner-svn-ports-head@freebsd.org Mon May 9 16:47:46 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BCF77B34063; Mon, 9 May 2016 16:47:46 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 81F1719AA; Mon, 9 May 2016 16:47:46 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u49GljOl044015; Mon, 9 May 2016 16:47:45 GMT (envelope-from lwhsu@FreeBSD.org) Received: (from lwhsu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u49GljLZ044013; Mon, 9 May 2016 16:47:45 GMT (envelope-from lwhsu@FreeBSD.org) Message-Id: <201605091647.u49GljLZ044013@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lwhsu set sender to lwhsu@FreeBSD.org using -f From: Li-Wen Hsu Date: Mon, 9 May 2016 16:47:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r414867 - in head/chinese/libchewing: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2016 16:47:46 -0000 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 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)