pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/pikchr Honor LDFLAGS to fix NetBSD build. Rid...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2d164a8cc174
branches: trunk
changeset: 770173:2d164a8cc174
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Fri Nov 26 19:39:15 2021 +0000
description:
Honor LDFLAGS to fix NetBSD build. Ride recent import.
diffstat:
graphics/pikchr/distinfo | 4 ++--
graphics/pikchr/patches/patch-Makefile | 13 +++++++++++--
2 files changed, 13 insertions(+), 4 deletions(-)
diffs (37 lines):
diff -r 32987d3fd1b3 -r 2d164a8cc174 graphics/pikchr/distinfo
--- a/graphics/pikchr/distinfo Fri Nov 26 18:20:53 2021 +0000
+++ b/graphics/pikchr/distinfo Fri Nov 26 19:39:15 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2021/11/26 09:38:52 schmonz Exp $
+$NetBSD: distinfo,v 1.2 2021/11/26 19:39:15 schmonz Exp $
BLAKE2s (pikchr-b79ce27929e9cc79/pikchr.tar.gz) = 00125e7b4de045b7454fa39b094e717f891de99e9ba35c2f6e97a9cb58dbd106
SHA512 (pikchr-b79ce27929e9cc79/pikchr.tar.gz) = 2339ac1ce17b97698f32d022f92014ba01f279c7aa64e9f1ebbbc1808c58ed75fbb1f935cc8eccb883a7b627aa9de4eaac1ece1b444abc6f5769c2ff77c07d1f
Size (pikchr-b79ce27929e9cc79/pikchr.tar.gz) = 245370 bytes
-SHA1 (patch-Makefile) = c538909958cd0e58a72833964e6aae5c6226e15c
+SHA1 (patch-Makefile) = e3900e12fd25b89ebf848820594977a9776cbb75
diff -r 32987d3fd1b3 -r 2d164a8cc174 graphics/pikchr/patches/patch-Makefile
--- a/graphics/pikchr/patches/patch-Makefile Fri Nov 26 18:20:53 2021 +0000
+++ b/graphics/pikchr/patches/patch-Makefile Fri Nov 26 19:39:15 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-Makefile,v 1.1 2021/11/26 09:38:52 schmonz Exp $
+$NetBSD: patch-Makefile,v 1.2 2021/11/26 19:39:15 schmonz Exp $
-Honor pkgsrc-provided CFLAGS.
+Honor pkgsrc-provided CFLAGS and LDFLAGS.
--- Makefile.orig 2021-11-04 18:36:41.000000000 +0000
+++ Makefile
@@ -11,3 +11,12 @@
LIBS = -lm
TCL_PACKAGE_NAME = pikchr
+@@ -11,7 +11,7 @@ TCL_PACKAGE_FLAGS = \
+ all: pikchr
+
+ pikchr: pikchr.c
+- $(CC) $(CFLAGS) -DPIKCHR_SHELL pikchr.c -o pikchr $(LIBS)
++ $(CC) $(CFLAGS) -DPIKCHR_SHELL $(LDFLAGS) pikchr.c -o pikchr $(LIBS)
+
+ pikchrfuzz: pikchr.c
+ clang -g -O3 -fsanitize=fuzzer,undefined,address -o pikchrfuzz \
Home |
Main Index |
Thread Index |
Old Index