Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Feb 2016 15:43:27 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408210 - head/hebrew/he2
Message-ID:  <201602051543.u15FhRNa060235@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602051543.u15FhRNa060235>