aboutsummaryrefslogtreecommitdiff
path: root/hebrew
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-02-05 15:43:27 +0000
committerJohn Marino <marino@FreeBSD.org>2016-02-05 15:43:27 +0000
commitc17679ba7902fc1f524e52d0d011b087db40d91c (patch)
tree37222b4fc6de81d628ad0cb0e6747f407d7ec8c1 /hebrew
parent9ee9bb9723348761b810b9feddf10ace81788aea (diff)
downloadports-c17679ba7902fc1f524e52d0d011b087db40d91c.tar.gz
ports-c17679ba7902fc1f524e52d0d011b087db40d91c.zip
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
Notes
Notes: svn path=/head/; revision=408210
Diffstat (limited to 'hebrew')
-rw-r--r--hebrew/he2/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/hebrew/he2/Makefile b/hebrew/he2/Makefile
index 045c57030298..d0789dad5d14 100644
--- a/hebrew/he2/Makefile
+++ b/hebrew/he2/Makefile
@@ -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>