svn commit: r408210 - head/hebrew/he2

John Marino marino at FreeBSD.org
Fri Feb 5 15:43:28 UTC 2016


Author: marino
Date: Fri Feb  5 15:43:27 2016
New Revision: 408210
URL: https://svnweb.freebsd.org/changeset/ports/408210

Log:
  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

Modified:
  head/hebrew/he2/Makefile

Modified: head/hebrew/he2/Makefile
==============================================================================
--- head/hebrew/he2/Makefile	Fri Feb  5 15:41:38 2016	(r408209)
+++ head/hebrew/he2/Makefile	Fri Feb  5 15:43:27 2016	(r408210)
@@ -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>


More information about the svn-ports-all mailing list