Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Sep 2013 10:27:46 GMT
From:      Vladimir Kondratiev <wulf@mail.mipt.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/181720: [patch] shells/zsh fix building of static binary with devel/ncurses port installed
Message-ID:  <201309011027.r81ARkCF069125@oldred.freebsd.org>
Resent-Message-ID: <201309011030.r81AU2Yq002969@freefall.freebsd.org>

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

>Number:         181720
>Category:       ports
>Synopsis:       [patch] shells/zsh fix building of static binary with devel/ncurses port installed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 01 10:30:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Vladimir Kondratiev
>Release:        10.0-CURRENT r254479
>Organization:
>Environment:
FreeBSD wulf 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r254479M: Sun Aug 18 15:15:58 MSK 2013     root@wulf:/usr/obj/usr/src/sys/WULF  amd64
>Description:
terminfo routines belong to libtinfo.(a|so) not libncurses.(a|so) since ncurses 5.0
>How-To-Repeat:
install devel/ncurses then build shells/zsh with STATIC option enabled
>Fix:


Patch attached with submission follows:

Index: zsh/Makefile
===================================================================
--- zsh/Makefile	(revision 325826)
+++ zsh/Makefile	(working copy)
@@ -27,7 +27,7 @@
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
-CONFIGURE_ARGS=	--with-term-lib="ncursesw ncurses" --with-tcsetpgrp \
+CONFIGURE_ARGS=	--with-term-lib="tinfow tinfo" --with-tcsetpgrp \
 		--enable-function-subdirs
 
 EXTRA_PATCHES=	${FILESDIR}/extra-patch-bsdtar


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



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