Received: by mail.netbsd.org (Postfix, from userid 605) id BF49E84D5B; Thu, 26 Mar 2020 12:46:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 47E7184D59 for ; Thu, 26 Mar 2020 12:46:59 +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 5wNMf0x4G8iY for ; Thu, 26 Mar 2020 12:46:58 +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 BFF4884D2C for ; Thu, 26 Mar 2020 12:46:58 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id B9E25FB27; Thu, 26 Mar 2020 12:46:58 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1585226818202970" MIME-Version: 1.0 Date: Thu, 26 Mar 2020 12:46:58 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/games/sl To: pkgsrc-changes@NetBSD.org Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20200326124658.B9E25FB27@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1585226818202970 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Thu Mar 26 12:46:58 UTC 2020 Modified Files: pkgsrc/games/sl: Makefile distinfo Added Files: pkgsrc/games/sl/patches: patch-Makefile Log Message: sl: Respect CC/CFLAGS/LDFLAGS/etc To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 pkgsrc/games/sl/Makefile cvs rdiff -u -r1.7 -r1.8 pkgsrc/games/sl/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/games/sl/patches/patch-Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1585226818202970 Content-Disposition: inline Content-Length: 1977 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/games/sl/Makefile diff -u pkgsrc/games/sl/Makefile:1.22 pkgsrc/games/sl/Makefile:1.23 --- pkgsrc/games/sl/Makefile:1.22 Tue Jan 3 22:13:11 2017 +++ pkgsrc/games/sl/Makefile Thu Mar 26 12:46:58 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2017/01/03 22:13:11 roy Exp $ +# $NetBSD: Makefile,v 1.23 2020/03/26 12:46:58 nia Exp $ # DISTNAME= sl-5.02 @@ -15,6 +15,9 @@ FAKE_NCURSES= yes DIST_SUBDIR= ${PKGNAME_NOREV} BUILD_TARGET= sl +MAKE_FLAGS+= CC=${CC:Q} +MAKE_FLAGS+= CFLAGS=${CFLAGS:Q} + INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/ja_JP.EUC/man1 do-install: Index: pkgsrc/games/sl/distinfo diff -u pkgsrc/games/sl/distinfo:1.7 pkgsrc/games/sl/distinfo:1.8 --- pkgsrc/games/sl/distinfo:1.7 Tue Nov 3 20:57:04 2015 +++ pkgsrc/games/sl/distinfo Thu Mar 26 12:46:58 2020 @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.7 2015/11/03 20:57:04 agc Exp $ +$NetBSD: distinfo,v 1.8 2020/03/26 12:46:58 nia Exp $ SHA1 (sl-5.02/sl-5.02.tar.gz) = 8ea1ed978ed6738d6c510eceb329cb43616afb91 RMD160 (sl-5.02/sl-5.02.tar.gz) = f3643055900b8a71dc9c18d59b0815c554298875 SHA512 (sl-5.02/sl-5.02.tar.gz) = a4d18bc79d7e0eca7748b10226a6b2a85a7a01d636e4e9215bf524a7849bc5cb250034326e5a69f7423d79e40b92182fddc0e56e25df616edae06369c782cb26 Size (sl-5.02/sl-5.02.tar.gz) = 5353 bytes +SHA1 (patch-Makefile) = 4e82d8e3d7a514213d8d2bc806191975f13546d4 Added files: Index: pkgsrc/games/sl/patches/patch-Makefile diff -u /dev/null pkgsrc/games/sl/patches/patch-Makefile:1.1 --- /dev/null Thu Mar 26 12:46:58 2020 +++ pkgsrc/games/sl/patches/patch-Makefile Thu Mar 26 12:46:58 2020 @@ -0,0 +1,17 @@ +$NetBSD: patch-Makefile,v 1.1 2020/03/26 12:46:58 nia Exp $ + +Respect LDFLAGS. + +--- Makefile.orig 2014-06-16 07:27:59.000000000 +0000 ++++ Makefile +@@ -9,5 +9,8 @@ + CC=gcc + CFLAGS=-O + +-sl: sl.c sl.h +- $(CC) $(CFLAGS) -o sl sl.c -lncurses ++sl.o: sl.c sl.h ++ $(CC) $(CFLAGS) -c sl.c ++ ++sl: sl.o ++ $(CC) $(LDFLAGS) -o sl sl.o -lncurses --_----------=_1585226818202970--