pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/sl sl: Respect CC/CFLAGS/LDFLAGS/etc
details: https://anonhg.NetBSD.org/pkgsrc/rev/17cbc47925f7
branches: trunk
changeset: 414375:17cbc47925f7
user: nia <nia%pkgsrc.org@localhost>
date: Thu Mar 26 12:46:58 2020 +0000
description:
sl: Respect CC/CFLAGS/LDFLAGS/etc
diffstat:
games/sl/Makefile | 5 ++++-
games/sl/distinfo | 3 ++-
games/sl/patches/patch-Makefile | 17 +++++++++++++++++
3 files changed, 23 insertions(+), 2 deletions(-)
diffs (52 lines):
diff -r 6bd916b7e08f -r 17cbc47925f7 games/sl/Makefile
--- a/games/sl/Makefile Thu Mar 26 12:44:46 2020 +0000
+++ b/games/sl/Makefile Thu Mar 26 12:46:58 2020 +0000
@@ -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 @@
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:
diff -r 6bd916b7e08f -r 17cbc47925f7 games/sl/distinfo
--- a/games/sl/distinfo Thu Mar 26 12:44:46 2020 +0000
+++ b/games/sl/distinfo Thu Mar 26 12:46:58 2020 +0000
@@ -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
diff -r 6bd916b7e08f -r 17cbc47925f7 games/sl/patches/patch-Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/sl/patches/patch-Makefile Thu Mar 26 12:46:58 2020 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index