svn commit: r408262 - head/editors/uemacs

John Marino marino at FreeBSD.org
Fri Feb 5 18:59:51 UTC 2016


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>


More information about the svn-ports-all mailing list