From owner-svn-ports-head@freebsd.org Sat Oct 24 16:48:50 2015 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 83B66A1DDF6; Sat, 24 Oct 2015 16:48:50 +0000 (UTC) (envelope-from thierry@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 2C9DA188E; Sat, 24 Oct 2015 16:48:50 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9OGmnah090147; Sat, 24 Oct 2015 16:48:49 GMT (envelope-from thierry@FreeBSD.org) Received: (from thierry@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9OGmnYG090145; Sat, 24 Oct 2015 16:48:49 GMT (envelope-from thierry@FreeBSD.org) Message-Id: <201510241648.t9OGmnYG090145@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: thierry set sender to thierry@FreeBSD.org using -f From: Thierry Thomas Date: Sat, 24 Oct 2015 16:48:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r400131 - in head/sysutils/uniutils: . 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.20 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, 24 Oct 2015 16:48:50 -0000 Author: thierry Date: Sat Oct 24 16:48:48 2015 New Revision: 400131 URL: https://svnweb.freebsd.org/changeset/ports/400131 Log: - Fix hard-coded endian assumption; - Change /usr/local replacement from LOCALBASE -> PREFIX. PR: ports/203706 Submitted by: John Hein Modified: head/sysutils/uniutils/Makefile head/sysutils/uniutils/files/patch-utf8lookup Modified: head/sysutils/uniutils/Makefile ============================================================================== --- head/sysutils/uniutils/Makefile Sat Oct 24 16:28:40 2015 (r400130) +++ head/sysutils/uniutils/Makefile Sat Oct 24 16:48:48 2015 (r400131) @@ -3,7 +3,7 @@ PORTNAME= uniutils PORTVERSION= 2.27 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils textproc MASTER_SITES= http://billposer.org/Software/Downloads/ @@ -26,7 +26,7 @@ PORTDOCS= AUTHORS NEWS README OPTIONS_DEFINE= DOCS EXAMPLES pre-configure: - ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile.in + ${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile.in ${REINPLACE_CMD} -e 's|TestData|${EXAMPLESDIR}|' ${WRKSRC}/README regression-test: Modified: head/sysutils/uniutils/files/patch-utf8lookup ============================================================================== --- head/sysutils/uniutils/files/patch-utf8lookup Sat Oct 24 16:28:40 2015 (r400130) +++ head/sysutils/uniutils/files/patch-utf8lookup Sat Oct 24 16:48:48 2015 (r400131) @@ -1,11 +1,14 @@ ---- utf8lookup.orig Sun Jan 29 21:43:23 2006 -+++ utf8lookup Tue Jan 31 00:11:48 2006 -@@ -10,7 +10,7 @@ +--- utf8lookup.orig 2007-06-30 05:31:37 UTC ++++ utf8lookup +@@ -8,9 +8,10 @@ + # UTF-32 name + # 000543 ARMENIAN CAPITAL LETTER CHEH # ++[ $(( $(printf '\1' | od -dAn) )) -eq 1 ] && end=le || end=be echo 0x$1 | # feed command-line argument to ascii2binary's stdin ascii2binary -t ui | # convert text to unsigned integer -iconv -f utf32 -t utf8 | # convert utf-32 to utf-8 encoding -+iconv -f ucs-4le -t utf-8 | # convert utf-32 to utf-8 encoding ++iconv -f ucs-4$end -t utf-8 | # convert utf-32 to utf-8 encoding uniname -b -c -e -g # feed to uniname, suppressing byte and character offsets, # UTF-8 encoding, and glyph