Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Feb 2016 16:41:00 +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: r408222 - head/japanese/jls
Message-ID:  <201602051641.u15Gf0pE076278@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Fri Feb  5 16:41:00 2016
New Revision: 408222
URL: https://svnweb.freebsd.org/changeset/ports/408222

Log:
  japanese/jls: document ncurses requirement (USES+=ncurses)
  
  Also link with libncurses, not libtermap.  While here, join compound
  command with "&&" and wrap in parentheses.
  
  approved by:	infrastructure blanket

Modified:
  head/japanese/jls/Makefile

Modified: head/japanese/jls/Makefile
==============================================================================
--- head/japanese/jls/Makefile	Fri Feb  5 16:39:08 2016	(r408221)
+++ head/japanese/jls/Makefile	Fri Feb  5 16:41:00 2016	(r408222)
@@ -15,14 +15,17 @@ MAINTAINER=	kazami@angels.vg
 COMMENT=	Japanized ls
 
 CONFLICTS=	sleuthkit-[0-9]*
-USES=		uidfix
 
+USES=		ncurses uidfix
 PLIST_FILES=	bin/jls \
 		man/man1/jls.1.gz
 
 WRKSRC=	${WRKDIR}/ls
 
 pre-patch:
-	cd ${WRKSRC}; ${MV} ls.1 jls.1
+	(cd ${WRKSRC} && ${MV} ls.1 jls.1)
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|-ltermcap|-lncurses|g' ${WRKSRC}/Makefile
+	
 .include <bsd.port.mk>



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