From 6f1db72f74f54b9a4f8bf1d8eea3733e3cb70a2a Mon Sep 17 00:00:00 2001 From: marino Date: Fri, 5 Feb 2016 16:41:00 +0000 Subject: 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 --- japanese/jls/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'japanese') diff --git a/japanese/jls/Makefile b/japanese/jls/Makefile index 682c8fa67582..bd7e5b10b3d0 100644 --- a/japanese/jls/Makefile +++ b/japanese/jls/Makefile @@ -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 -- cgit