Authentication-Results: name.execsw.org; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=2w/qjnwb; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=xxryLAVw Received: by mail.netbsd.org (Postfix, from userid 605) id 4C9E984E8C; Sat, 4 May 2024 21:46:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1714859173; bh=Voad/S6EuG/sM5K49KWiVZ1NYw/eH2wDtsIcO9HhRf4=; h=Date:From:Subject:To:Reply-To:List-Id:List-Unsubscribe; b=2w/qjnwbRnxgT4KQpK8yKd+ZyDFMQBPOsttYyPPuWDUlFGEw99h7AU7t9StobsRpC YS5WGgfCbpcFTx2S8My71nsBHqAYnbQh9ZWyvzcOf79IVLzTUgpyKds08c3C0IQaaT 1jUoGixEZcQS8645plVggIIDGV+/2DUScW/J0Pf4= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3E6A784E63 for ; Sat, 4 May 2024 21:46:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Authentication-Results: mail.netbsd.org (amavisd-new); dkim=pass (1024-bit key) header.d=netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id j3JmigwQ01-p for ; Sat, 4 May 2024 21:46:11 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id B087A84D3E for ; Sat, 4 May 2024 21:46:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1714859171; bh=Voad/S6EuG/sM5K49KWiVZ1NYw/eH2wDtsIcO9HhRf4=; h=Date:From:Subject:To:Reply-To; b=xxryLAVw5kMSn0TARkTndj3Z8owr1BKAikYJdPBGxsQN0R1aWVLoPp/fzvSlGT2Ip YtB0M8kdI+lsrEoU/RkSRecRK51i4uQU3Bb3sS0VwK0W6hGjpnCftdKExOeImqwDVI CruWIdV3MDJAxuNVdpL39gMAOJ6VmVk1urQGpwSs= Received: by cvs.NetBSD.org (Postfix, from userid 500) id A7D8BFA2C; Sat, 4 May 2024 21:46:11 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1714859171143040" MIME-Version: 1.0 Date: Sat, 4 May 2024 21:46:11 +0000 From: "Tobias Nygren" Subject: CVS commit: pkgsrc/devel/ncursesw To: pkgsrc-changes@NetBSD.org Reply-To: tnn@netbsd.org X-Mailer: log_accum Message-Id: <20240504214611.A7D8BFA2C@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1714859171143040 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: tnn Date: Sat May 4 21:46:11 UTC 2024 Modified Files: pkgsrc/devel/ncursesw: Makefile Log Message: ncursesw: fix do-install issues and bump 1: When installing libraries, must use INSTALL_LIB, not INSTALL_PROGRAM. Otherwise symbols get lost. 2: ${RUN} must not be used inside a shell for loop. Not only does it not run the command because it will try to run the shell command "@", but masks errors because "set -e" did not happen. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/ncursesw/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1714859171143040 Content-Disposition: inline Content-Length: 1531 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/ncursesw/Makefile diff -u pkgsrc/devel/ncursesw/Makefile:1.23 pkgsrc/devel/ncursesw/Makefile:1.24 --- pkgsrc/devel/ncursesw/Makefile:1.23 Thu Jan 19 12:09:41 2023 +++ pkgsrc/devel/ncursesw/Makefile Sat May 4 21:46:11 2024 @@ -1,9 +1,10 @@ -# $NetBSD: Makefile,v 1.23 2023/01/19 12:09:41 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2024/05/04 21:46:11 tnn Exp $ .include "../../devel/ncurses/Makefile.common" PKGNAME= ${DISTNAME:S/ncurses/ncursesw/} COMMENT= Wide character CRT screen handling and optimization package +PKGREVISION= 1 PATCHDIR= ${.CURDIR}/../../devel/ncurses/patches DISTINFO_FILE= ${.CURDIR}/../../devel/ncurses/distinfo @@ -28,13 +29,13 @@ post-build: cd ${WRKSRC}/misc && ${SH} gen-pkgconfig do-install: - for DIR in c++ form include menu panel; do \ + ${RUN} for DIR in c++ form include menu panel; do \ cd ${WRKSRC}/$${DIR}; \ - ${RUN} ${MAKE_ENV} ${MAKE_PROGRAM} ${INSTALL_MAKE_FLAGS} install.includes; \ + ${MAKE_ENV} ${MAKE_PROGRAM} ${INSTALL_MAKE_FLAGS} install.includes; \ done ${INSTALL_SCRIPT} ${WRKSRC}/misc/ncurses-config ${DESTDIR}${PREFIX}/bin/ncursesw${NC_VERS:R}-config - for LIB in gnuform gnumenu ncurses++ ncurses gnupanel; do \ - ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \ + ${RUN} for LIB in gnuform gnumenu ncurses++ ncurses gnupanel; do \ + ${LIBTOOL} --mode=install ${INSTALL_LIB} \ ${WRKSRC}/lib/lib$${LIB}w.la ${DESTDIR}${PREFIX}/lib; \ done ${INSTALL_DATA} ${WRKSRC}/misc/*.pc ${DESTDIR}${PREFIX}/lib/pkgconfig --_----------=_1714859171143040--