Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 89F151A923C for ; Mon, 14 Dec 2020 09:15:35 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id EFEB984D6F; Mon, 14 Dec 2020 09:15:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 35B7484CFC for ; Mon, 14 Dec 2020 09:15:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id MM7zaJphux_w for ; Mon, 14 Dec 2020 09:15:33 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 8AEDE84C71 for ; Mon, 14 Dec 2020 09:15:33 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 84768FA9D; Mon, 14 Dec 2020 09:15:33 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_160793733363040" MIME-Version: 1.0 Date: Mon, 14 Dec 2020 09:15:33 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/time/tty-clock/patches To: pkgsrc-changes@NetBSD.org Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20201214091533.84768FA9D@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_160793733363040 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Mon Dec 14 09:15:33 UTC 2020 Added Files: pkgsrc/time/tty-clock/patches: patch-Makefile Log Message: tty-clock: Add missing patch. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/time/tty-clock/patches/patch-Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_160793733363040 Content-Disposition: inline Content-Length: 1077 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/time/tty-clock/patches/patch-Makefile diff -u /dev/null pkgsrc/time/tty-clock/patches/patch-Makefile:1.1 --- /dev/null Mon Dec 14 09:15:33 2020 +++ pkgsrc/time/tty-clock/patches/patch-Makefile Mon Dec 14 09:15:33 2020 @@ -0,0 +1,24 @@ +$NetBSD: patch-Makefile,v 1.1 2020/12/14 09:15:33 nia Exp $ + +Don't assume ncurses. + +--- Makefile.orig 2017-01-15 03:21:24.000000000 +0000 ++++ Makefile +@@ -9,17 +9,6 @@ PREFIX ?= /usr/local + INSTALLPATH = ${DESTDIR}${PREFIX}/bin + MANPATH = ${DESTDIR}${PREFIX}/share/man/man1 + +-ifeq ($(shell sh -c 'which ncurses5-config>/dev/null 2>/dev/null && echo y'), y) +- CFLAGS += -Wall -g $$(ncurses5-config --cflags) +- LDFLAGS += $$(ncurses5-config --libs) +-else ifeq ($(shell sh -c 'which ncursesw5-config>/dev/null 2>/dev/null && echo y'), y) +- CFLAGS += -Wall -g $$(ncursesw5-config --cflags) +- LDFLAGS += $$(ncursesw5-config --libs) +-else +- CFLAGS += -Wall -g $$(pkg-config --cflags ncurses) +- LDFLAGS += $$(pkg-config --libs ncurses) +-endif +- + tty-clock : ${SRC} + + @echo "building ${SRC}" --_----------=_160793733363040--