From owner-svn-ports-head@freebsd.org Fri Dec 13 13:24:17 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A6ABD1CDC28; Fri, 13 Dec 2019 13:24:17 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47ZBG941ZBz422n; Fri, 13 Dec 2019 13:24:17 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6AE56CD17; Fri, 13 Dec 2019 13:24:17 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xBDDOHTe050803; Fri, 13 Dec 2019 13:24:17 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xBDDOGmG050799; Fri, 13 Dec 2019 13:24:16 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201912131324.xBDDOGmG050799@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Fri, 13 Dec 2019 13:24:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r520032 - in head: Mk/Uses textproc/aspell www/lynx-current www/newsboat X-SVN-Group: ports-head X-SVN-Commit-Author: bapt X-SVN-Commit-Paths: in head: Mk/Uses textproc/aspell www/lynx-current www/newsboat X-SVN-Commit-Revision: 520032 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Dec 2019 13:24:17 -0000 Author: bapt Date: Fri Dec 13 13:24:16 2019 New Revision: 520032 URL: https://svnweb.freebsd.org/changeset/ports/520032 Log: Provide a new macro NCURSES_IMPL This is necessary to deal with the reduction of the ncurses library from 2 implementation on one single implementation which would be only the widechar. Reviewed by: mat Differential Revision: https://reviews.freebsd.org/D22794 Modified: head/Mk/Uses/ncurses.mk head/textproc/aspell/Makefile head/www/lynx-current/Makefile head/www/newsboat/Makefile Modified: head/Mk/Uses/ncurses.mk ============================================================================== --- head/Mk/Uses/ncurses.mk Fri Dec 13 13:23:58 2019 (r520031) +++ head/Mk/Uses/ncurses.mk Fri Dec 13 13:24:16 2019 (r520032) @@ -37,6 +37,9 @@ ncurses_ARGS= port .if ${ncurses_ARGS} == base NCURSESBASE= /usr NCURSESINC= ${NCURSESBASE}/include +.if !exists(/usr/lib/libncursesw.so) +NCURSES_IMPL= ncurses +.endif . if exists(${LOCALBASE}/lib/libncurses.so) _USES_sanity+= 400:check-depends-ncurses @@ -85,5 +88,6 @@ LDFLAGS+= -Wl,-rpath=${NCURSESRPATH} .endif NCURSESLIB= ${NCURSESBASE}/lib +NCURSES_IMPL?= ncursesw .endif Modified: head/textproc/aspell/Makefile ============================================================================== --- head/textproc/aspell/Makefile Fri Dec 13 13:23:58 2019 (r520031) +++ head/textproc/aspell/Makefile Fri Dec 13 13:24:16 2019 (r520032) @@ -20,7 +20,7 @@ OPTIONS_SUB= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-dict-dir=${DATADIR} \ --enable-docdir=${DOCSDIR} \ - --enable-curses=ncursesw \ + --enable-curses=${NCURSES_IMPL} \ --enable-static USE_LDCONFIG= yes Modified: head/www/lynx-current/Makefile ============================================================================== --- head/www/lynx-current/Makefile Fri Dec 13 13:23:58 2019 (r520031) +++ head/www/lynx-current/Makefile Fri Dec 13 13:24:16 2019 (r520032) @@ -31,7 +31,7 @@ CONFIGURE_ARGS= --with-zlib --libdir="${PREFIX}/etc" \ --enable-ipv6 \ --with-mime-libdir=${PREFIX}/etc \ ${ICONV_CONFIGURE_ARG} \ - --with-screen=ncursesw + --with-screen=${NCURSES_IMPL} CPE_VERSION= ${PORTVERSION:C/[pd].+//} CPE_UPDATE= ${PORTVERSION:E:C/[0-9]+//:S/p/pre./:S/d/dev./} Modified: head/www/newsboat/Makefile ============================================================================== --- head/www/newsboat/Makefile Fri Dec 13 13:23:58 2019 (r520031) +++ head/www/newsboat/Makefile Fri Dec 13 13:24:16 2019 (r520032) @@ -145,7 +145,7 @@ post-patch: @${REINPLACE_CMD} -e 's,fail "ncursesw",true,; s,fail "libcrypto",true,' \ -e 's,fail "libssl",true,' \ ${WRKSRC}/config.sh - @${REINPLACE_CMD} -e 's|-liconv|${ICONV_LIB} -lcrypto -lncursesw|;s|-Werror||' \ + @${REINPLACE_CMD} -e 's|-liconv|${ICONV_LIB} -lcrypto -l${NCURSES_IMPL}|;s|-Werror||' \ ${WRKSRC}/Makefile post-install: