aboutsummaryrefslogtreecommitdiffstats
path: root/hebrew
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-02-05 23:43:27 +0800
committermarino <marino@FreeBSD.org>2016-02-05 23:43:27 +0800
commit0fc1e9c2788f2180a3fdc2741eec210bbb4a4678 (patch)
tree37222b4fc6de81d628ad0cb0e6747f407d7ec8c1 /hebrew
parent578e22042a50cede9b7a765b16e5c746a3e3262a (diff)
downloadfreebsd-ports-gnome-0fc1e9c2788f2180a3fdc2741eec210bbb4a4678.tar.gz
freebsd-ports-gnome-0fc1e9c2788f2180a3fdc2741eec210bbb4a4678.tar.zst
freebsd-ports-gnome-0fc1e9c2788f2180a3fdc2741eec210bbb4a4678.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
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>