From owner-svn-ports-all@freebsd.org Sun Oct 21 16:52:24 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9FEC3FFA6A5; Sun, 21 Oct 2018 16:52:24 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 03A63977B4; Sun, 21 Oct 2018 16:52:23 +0000 (UTC) (envelope-from sunpoet@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0817A1049A; Sun, 21 Oct 2018 16:52:23 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9LGqMSL046004; Sun, 21 Oct 2018 16:52:22 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9LGqMgR046003; Sun, 21 Oct 2018 16:52:22 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201810211652.w9LGqMgR046003@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 21 Oct 2018 16:52:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r482708 - head/chinese/librime X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/chinese/librime X-SVN-Commit-Revision: 482708 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2018 16:52:24 -0000 Author: sunpoet Date: Sun Oct 21 16:52:22 2018 New Revision: 482708 URL: https://svnweb.freebsd.org/changeset/ports/482708 Log: Fix build on powerpc64 - While I'm here: - Sort USES - Remove .include PR: 232416 Submitted by: Piotr Kubaj Approved by: Zhihao Yuan (maintainer) Modified: head/chinese/librime/Makefile Modified: head/chinese/librime/Makefile ============================================================================== --- head/chinese/librime/Makefile Sun Oct 21 16:52:14 2018 (r482707) +++ head/chinese/librime/Makefile Sun Oct 21 16:52:22 2018 (r482708) @@ -20,8 +20,10 @@ LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libopencc.so:chinese/opencc \ libyaml-cpp.so:devel/yaml-cpp -USES= cmake compiler:c++11-lib pathfix pkgconfig gettext perl5 +USES= cmake compiler:c++11-lib gettext pathfix perl5 pkgconfig USE_PERL5= build patch + +USE_CXXSTD= c++11 USE_LDCONFIG= yes USE_XORG= xorgproto LDFLAGS+= -lintl @@ -30,12 +32,8 @@ GH_ACCOUNT= rime PLIST_SUB= VER=${PORTVERSION} -BROKEN_powerpc64= Does not link: undefined reference to YAML::detail::node_data::empty_scalar[abi:cxx11] - -.include - -post-patch: .SILENT - ${FIND} ${WRKSRC} \( -name '*.cc' -or -name '*.h' \) \ +post-patch: + @${FIND} ${WRKSRC} \( -name '*.cc' -or -name '*.h' \) \ -exec ${PERL} -i -pe '$$. == 1 && s/^\xef\xbb\xbf//;' {} \; .include