From owner-freebsd-ports@FreeBSD.ORG Sun Mar 6 03:27:18 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 581F7106566B; Sun, 6 Mar 2011 03:27:18 +0000 (UTC) (envelope-from alexander@kojevnikov.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id E00598FC0C; Sun, 6 Mar 2011 03:27:17 +0000 (UTC) Received: by vxc34 with SMTP id 34so3505173vxc.13 for ; Sat, 05 Mar 2011 19:27:16 -0800 (PST) Received: by 10.220.50.141 with SMTP id z13mr598822vcf.164.1299382036266; Sat, 05 Mar 2011 19:27:16 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.195.4 with HTTP; Sat, 5 Mar 2011 19:26:55 -0800 (PST) In-Reply-To: References: <20110303135717.GD48908@atarininja.org> From: Alexander Kojevnikov Date: Sun, 6 Mar 2011 11:26:55 +0800 Message-ID: To: Baptiste Daroussin Content-Type: text/plain; charset=UTF-8 Cc: ports@freebsd.org, udo.schweigert@siemens.com, Wesley Shields Subject: Re: shells/zsh links to devel/ncurses X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2011 03:27:18 -0000 On 4 March 2011 18:56, Baptiste Daroussin wrote: > Here is a patch loosely based on bsd.openssl.mk that should fix the > situation (add USE_NCURSES=yes to the corresponding Makefiles) > http://people.freebsd.org/~bapt/bsd.ncurses.mk.diff Thanks Bapt! I tested it on shells/zsh and www/lynx. For zsh, USE_NCURSES forced it to use /lib/libncursesw.so.8 but devel/ncurses we still added as a dependency (pkg_delete would not delete zsh without the -f option) For lynx, USE_NCURSES made no difference, it still linked /usr/local/lib/libncursesw.so.5.7 and /usr/local/lib/libtinfow.so.5.7. devel/ncurses was also added as a dependency. I guess in both cases it should link to /lib/libncursesw.so.8 and no dependency should be added. Alex