Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Feb 2016 11:48:08 -0800
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        John Marino <marino@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r408262 - head/editors/uemacs
Message-ID:  <56B4FC78.6050005@FreeBSD.org>
In-Reply-To: <201602051859.u15IxnEx021230@repo.freebsd.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 2/5/2016 10:59 AM, John Marino wrote:
> Author: marino
> Date: Fri Feb  5 18:59:49 2016
> New Revision: 408262
> URL: https://svnweb.freebsd.org/changeset/ports/408262
> 
> Log:
>   editors/uemacs: document ncurses rqmt (USES+=ncurses), respect LDFLAGS
>   
>   Also link with ncurses, not termcap
>   
>   approved by:	infrastructure blanket
> 
> Modified:
>   head/editors/uemacs/Makefile
> 
> Modified: head/editors/uemacs/Makefile
> ==============================================================================
> --- head/editors/uemacs/Makefile	Fri Feb  5 18:57:54 2016	(r408261)
> +++ head/editors/uemacs/Makefile	Fri Feb  5 18:59:49 2016	(r408262)
> @@ -13,10 +13,12 @@ COMMENT=	Full screen editor
>  NO_CDROM=	Resale allowed for media cost only
>  
>  NO_WRKSUBDIR=	yes
> -USES=		dos2unix zip
> +USES=		dos2unix ncurses zip
>  EXTRACT_BEFORE_ARGS=	-Lq
>  
>  post-patch:
>  	@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/src/*.c
> +	@${REINPLACE_CMD} -e 's|-ltermcap|${LDFLAGS} -lncurses|g' \
> +		${WRKSRC}/freebsd/makefile
>  
>  .include <bsd.port.mk>
> 

lrwxr-xr-x  1 root  wheel  13 Mar 27  2015 /usr/lib/libtermcap.so@ ->
libncurses.so

libtermcap is symlinked to libncurses. Why is it worth maintaining extra
code to link to ncurses directly?

-- 
Regards,
Bryan Drewery


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJWtPx4AAoJEDXXcbtuRpfPodcH/jbCFZ2i6s8gDebdWg4E7fzJ
r7nJcUj75JtHJPzNr71ShI7epHIZUR9XL7kCIzn5JGHMEDgeWROJVwnFaxPLgu6g
CeT9rUDFcsvsw0WQEUUVCowEc8izhZ/A2f5Cf0a3OvhnfL0jerpxT5pjHu3HeJGO
NEksVFaWRvtSMHNTMo/vNv16Uh64kI3jiswLCFVroQW/+8hX0oweNxlDuKXfM60d
DesItZsbggdUTVL6VX1UN6D0hNa9OXqytQItofkoONs7S3qRwiaKuvCmxMVufpgs
3lkm4zo7nkKHjsajQO8ybeBKb+c0LtZtqwVdIaHw8ASmWMAaYXzv+8OIkLg9eyc=
=G/8n
-----END PGP SIGNATURE-----
home | help

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