Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 May 2014 10:05:37 +0800 (CST)
From:      Gasol Wu <gasol.wu@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/189539: [PATCH] devel/tig: update to 2.0.2
Message-ID:  <20140510020538.0AB23751108@goingmarry.kkbox.com>
Resent-Message-ID: <201405100220.s4A2K0xu047051@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         189539
>Category:       ports
>Synopsis:       [PATCH] devel/tig: update to 2.0.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 10 02:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Gasol Wu
>Release:        FreeBSD 9.2-RELEASE-p4 amd64
>Organization:
>Environment:
System: FreeBSD goingmarry 9.2-RELEASE-p4 FreeBSD 9.2-RELEASE-p4 #0: Tue Apr  8 18:08:22 UTC
>Description:
- Update to 2.0.2
- Depends readline (https://github.com/jonas/tig/issues/185)
- Fix display wide character problem that cause by readline, Change LDLIBS order to resolve.

Port maintainer (darcsis@gmail.com) is cc'd.

Generated with FreeBSD Port Tools 1.00.2014.03.23 (mode: update, diff: ports)
>How-To-Repeat:
>Fix:

--- tig-2.0.2.patch begins here ---
diff -ruN /usr/ports/devel/tig/Makefile ./Makefile
--- /usr/ports/devel/tig/Makefile	2014-01-11 23:04:03.000000000 +0800
+++ ./Makefile	2014-05-10 09:56:14.000000000 +0800
@@ -2,7 +2,7 @@
 # $FreeBSD: head/devel/tig/Makefile 339427 2014-01-11 15:04:03Z amdmi3 $
 
 PORTNAME=	tig
-PORTVERSION=	1.2.1
+PORTVERSION=	2.0.2
 CATEGORIES=	devel
 MASTER_SITES=	http://jonas.nitro.dk/tig/releases/
 
@@ -11,20 +11,21 @@
 
 LICENSE=	GPLv2
 
+LIB_DEPENDS=	libreadline.so:${PORTSDIR}/devel/readline
 RUN_DEPENDS=	git:${PORTSDIR}/devel/git
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	${ICONV_CONFIGURE_BASE}
-USES=		iconv gmake
+USES=		iconv gmake ncurses
 
-PLIST_FILES=	bin/tig
+PLIST_FILES=	bin/tig etc/tigrc
 
 OPTIONS_DEFINE=	MANPAGES
 OPTIONS_DEFAULT=MANPAGES
 
 MANPAGES_BUILD_DEPENDS=	asciidoc:${PORTSDIR}/textproc/asciidoc \
 			xmlto:${PORTSDIR}/textproc/xmlto
-MANPAGES_ALL_TARGET=	tig doc-man
+MANPAGES_ALL_TARGET=	all doc-man
 MANPAGES_INSTALL_TARGET=install install-doc-man
 MANPAGES_PLIST_FILES=	man/man1/tig.1.gz \
 			man/man5/tigrc.5.gz \
diff -ruN /usr/ports/devel/tig/distinfo ./distinfo
--- /usr/ports/devel/tig/distinfo	2014-01-22 23:30:13.000000000 +0800
+++ ./distinfo	2014-05-09 10:55:50.000000000 +0800
@@ -1,2 +1,2 @@
-SHA256 (tig-1.2.1.tar.gz) = b708d205f2a0432f03daaa945779bcac122662ec0760d4dabc6d8fd60ca32944
-SIZE (tig-1.2.1.tar.gz) = 160039
+SHA256 (tig-2.0.2.tar.gz) = b91cf0b3d044f643a1032c3a7c7cd855685bb8ead5f71f4703eb0c19238e273e
+SIZE (tig-2.0.2.tar.gz) = 572025
diff -ruN /usr/ports/devel/tig/files/patch-config.make.in ./files/patch-config.make.in
--- /usr/ports/devel/tig/files/patch-config.make.in	1970-01-01 08:00:00.000000000 +0800
+++ ./files/patch-config.make.in	2014-05-10 09:54:21.000000000 +0800
@@ -0,0 +1,11 @@
+--- ./config.make.in.orig	2014-05-10 09:51:50.000000000 +0800
++++ ./config.make.in	2014-05-10 09:53:07.000000000 +0800
+@@ -12,7 +12,7 @@
+ CFLAGS = @CFLAGS@
+ CPPFLAGS = @CPPFLAGS@ -DHAVE_CONFIG_H
+ LDFLAGS = @LDFLAGS@
+-LDLIBS = @LIBS@ @CURSES_LIB@
++LDLIBS = @CURSES_LIB@ @LIBS@
+ 
+ ASCIIDOC = @ASCIIDOC@
+ XMLTO = @XMLTO@
--- tig-2.0.2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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