pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/games/sl



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.

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



Home | Main Index | Thread Index | Old Index