View | Details | Raw Unified | Return to bug 155373
Collapse All | Expand All

(-)/tmp/tig/Makefile (-11 / +1 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	tig
8
PORTNAME=	tig
9
PORTVERSION=	0.16.2
9
PORTVERSION=	0.17
10
CATEGORIES=	devel
10
CATEGORIES=	devel
11
MASTER_SITES=	http://jonas.nitro.dk/tig/releases/
11
MASTER_SITES=	http://jonas.nitro.dk/tig/releases/
12
12
Lines 35-48 Link Here
35
35
36
.include <bsd.port.pre.mk>
36
.include <bsd.port.pre.mk>
37
37
38
.if ${OSVERSION} < 602107
39
LIB_DEPENDS+=	ncursesw.5:${PORTSDIR}/devel/ncurses
40
CONFIGURE_ENV+=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include/ncurses" \
41
		LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
42
43
post-patch:
44
	@${REINPLACE_CMD} -e 's/<curses.h>/<ncurses.h>/' ${WRKSRC}/tig.c
45
46
.endif
47
48
.include <bsd.port.post.mk>
38
.include <bsd.port.post.mk>
(-)/tmp/tig/distinfo (-3 / +2 lines)
Lines 1-3 Link Here
1
MD5 (tig-0.16.2.tar.gz) = d72b5d3437dbc538ea6f66c74988d75e
1
SHA256 (tig-0.17.tar.gz) = 44d9c9d4dec68911e0f40275218206039f843bc39af77718777e7008e96894fb
2
SHA256 (tig-0.16.2.tar.gz) = 7d3290641dcb1579491a0c9b379a5b6897076aaa845826fb3702510f07406ea2
2
SIZE (tig-0.17.tar.gz) = 168918
3
SIZE (tig-0.16.2.tar.gz) =  162809
(-)/tmp/tig/files/patch-configure (-22 lines)
Lines 1-22 Link Here
1
--- configure.orig	2009-12-12 21:32:37.031583584 +0800
2
+++ configure	2009-12-12 21:35:22.065764679 +0800
3
@@ -3275,7 +3275,7 @@
4
   return 0;
5
 }
6
 _ACEOF
7
-for ac_lib in '' ncurses; do
8
+for ac_lib in '' ncursesw; do
9
   if test -z "$ac_lib"; then
10
     ac_res="none required"
11
   else
12
@@ -3316,10 +3316,6 @@
13
 		as_fn_error "ncurses not found" "$LINENO" 5
14
 	esac
15
 
16
-	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The found ncurses library does not support wide-char." >&5
17
-$as_echo "$as_me: WARNING: The found ncurses library does not support wide-char." >&2;}
18
-	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: This means that tig will not correctly render UTF-8." >&5
19
-$as_echo "$as_me: WARNING: This means that tig will not correctly render UTF-8." >&2;}
20
 esac
21
 
22
 

Return to bug 155373