Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Feb 2016 18:59:49 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408262 - head/editors/uemacs
Message-ID:  <201602051859.u15IxnEx021230@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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