hebrew/he2: document ncurses requirement (USES+=ncurses)
while here: replace sysctl shell command with equivalent variable. Also link with libncurses, not libcurses + libtermcap approved by: infrastructure blanket
This commit is contained in:
@@ -14,8 +14,12 @@ LICENSE= GPLv2
|
||||
|
||||
RUN_DEPENDS= iw-elmar-fonts>0:${PORTSDIR}/hebrew/elmar-fonts
|
||||
|
||||
USES= gmake
|
||||
USES= gmake ncurses
|
||||
GNU_CONFIGURE= yes
|
||||
ALL_TARGET= -j`${SYSCTL} -n hw.ncpu`
|
||||
ALL_TARGET= -j${MAKE_JOBS_NUMBER}
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-lcurses -ltermcap|-lncurses|' \
|
||||
${WRKSRC}/he2/Makefile.in ${WRKSRC}/he2/Makefile.am
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
Reference in New Issue
Block a user