svn commit: r408262 - head/editors/uemacs

Bryan Drewery bdrewery at FreeBSD.org
Fri Feb 5 19:47:59 UTC 2016


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20160205/27b89bf4/attachment.sig>


More information about the svn-ports-all mailing list