Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Oct 2018 16:52:22 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r482708 - head/chinese/librime
Message-ID:  <201810211652.w9LGqMgR046003@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk>
  
  PR:		232416
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
  Approved by:	Zhihao Yuan <lichray@gmail.com> (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 <bsd.port.options.mk>
-
-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 <bsd.port.mk>



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