From owner-svn-ports-head@freebsd.org Sat Dec 23 08:13:41 2017 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 1AAF3E9F4AA; Sat, 23 Dec 2017 08:13:41 +0000 (UTC) (envelope-from danfe@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 CE3927B047; Sat, 23 Dec 2017 08:13:40 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBN8DdgT030165; Sat, 23 Dec 2017 08:13:39 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBN8DdgF030164; Sat, 23 Dec 2017 08:13:39 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201712230813.vBN8DdgF030164@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Sat, 23 Dec 2017 08:13:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r457025 - head/textproc/senna X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: head/textproc/senna X-SVN-Commit-Revision: 457025 X-SVN-Commit-Repository: ports 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.25 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: Sat, 23 Dec 2017 08:13:41 -0000 Author: danfe Date: Sat Dec 23 08:13:39 2017 New Revision: 457025 URL: https://svnweb.freebsd.org/changeset/ports/457025 Log: - Provide sensible BROKEN_sparc64 message (it is the same lack of atomics implementation that plagues ARM architectures as well) - Convert to option helpers, improve wording in option descriptions, and spell ``yes'' knob value as we normally do in the ports land Modified: head/textproc/senna/Makefile Modified: head/textproc/senna/Makefile ============================================================================== --- head/textproc/senna/Makefile Sat Dec 23 07:03:21 2017 (r457024) +++ head/textproc/senna/Makefile Sat Dec 23 08:13:39 2017 (r457025) @@ -14,12 +14,12 @@ BROKEN_aarch64= does not build: libsenna.so: undefine BROKEN_armv6= does not build: libsenna.so: undefined reference to SEN_ATOMIC_ADD_EX BROKEN_armv7= does not build: libsenna.so: undefined reference to SEN_ATOMIC_ADD_EX BROKEN_powerpc64= does not build: relocation truncated to fit: R_PPC64_TOC16_DS -BROKEN_sparc64= does not build +BROKEN_sparc64= does not build: libsenna.so: undefined reference to SEN_ATOMIC_ADD_EX -GNU_CONFIGURE= YES +GNU_CONFIGURE= yes USE_GCC= any USES= gmake libtool pathfix -USE_LDCONFIG= YES +USE_LDCONFIG= yes CONFIGURE_ARGS= --with-sennahome=${SENNA_HOME} LDFLAGS+= -lpthread -L${LOCALBASE}/lib CFLAGS+= -I${LOCALBASE}/include @@ -30,20 +30,12 @@ SENNA_HOME?= /var/senna OPTIONS_DEFINE= MECAB NFKC OPTIONS_DEFAULT= MECAB NFKC -MECAB_DESC= use mecab for morphological analysis -NFKC_DESC= use nfkc based utf8 normalization +MECAB_DESC= Use MeCab for morphological analysis +NFKC_DESC= Use NFKC-based UTF-8 normalization -.include +MECAB_LIB_DEPENDS= libmecab.so:japanese/mecab +MECAB_CONFIGURE_OFF= --without-mecab -.if ${PORT_OPTIONS:MMECAB} -CONFIGURE_ARGS+= --with-mecab -LIB_DEPENDS+= libmecab.so:japanese/mecab -.else -CONFIGURE_ARGS+= --without-mecab -.endif - -.if ${PORT_OPTIONS:MNFKC} -CONFIGURE_ARGS+= --disable-nfkc -.endif +NFKC_CONFIGURE_OFF= --disable-nfkc .include