pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/mkvserver_mk2 mkvserver_mk2: Respect CFLAGS/LDFLAG...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bd3135f20e05
branches: trunk
changeset: 442826:bd3135f20e05
user: nia <nia%pkgsrc.org@localhost>
date: Tue Dec 01 11:48:48 2020 +0000
description:
mkvserver_mk2: Respect CFLAGS/LDFLAGS. Requires pkg-config.
diffstat:
net/mkvserver_mk2/Makefile | 5 ++++-
net/mkvserver_mk2/distinfo | 3 ++-
net/mkvserver_mk2/patches/patch-Makefile | 27 +++++++++++++++++++++++++++
3 files changed, 33 insertions(+), 2 deletions(-)
diffs (64 lines):
diff -r 24cb1d68f132 -r bd3135f20e05 net/mkvserver_mk2/Makefile
--- a/net/mkvserver_mk2/Makefile Tue Dec 01 11:22:53 2020 +0000
+++ b/net/mkvserver_mk2/Makefile Tue Dec 01 11:48:48 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2020/10/06 10:26:10 ryoon Exp $
+# $NetBSD: Makefile,v 1.2 2020/12/01 11:48:48 nia Exp $
DISTNAME= mkvserver_mk2-0.0.0.20200117
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=klaxa/}
GITHUB_PROJECT= mkvserver_mk2
@@ -11,6 +12,8 @@
COMMENT= Streaming solution to end all streaming problems
LICENSE= gnu-gpl-v3
+USE_TOOLS+= pkg-config
+
INSTALLATION_DIRS+= bin
do-install:
diff -r 24cb1d68f132 -r bd3135f20e05 net/mkvserver_mk2/distinfo
--- a/net/mkvserver_mk2/distinfo Tue Dec 01 11:22:53 2020 +0000
+++ b/net/mkvserver_mk2/distinfo Tue Dec 01 11:48:48 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2020/10/06 10:26:10 ryoon Exp $
+$NetBSD: distinfo,v 1.2 2020/12/01 11:48:48 nia Exp $
SHA1 (mkvserver_mk2-0.0.0.20200117-c62abc30f4cca6147ddc732570b30fcb4bee30ec.tar.gz) = 4ce520c5b7b03f9bc22054558389be2deadeb508
RMD160 (mkvserver_mk2-0.0.0.20200117-c62abc30f4cca6147ddc732570b30fcb4bee30ec.tar.gz) = 348298eb9e5854f27204364faa74d478674ae024
SHA512 (mkvserver_mk2-0.0.0.20200117-c62abc30f4cca6147ddc732570b30fcb4bee30ec.tar.gz) =
4629a561ba0ea6b0a90396c0a73f63d75999b846e3b7771db8ad8b3a83faa93b23397c5996537e70020f4c70c5bb515d46847ff435ca4ea00d6e3d20fd3db53c
Size (mkvserver_mk2-0.0.0.20200117-c62abc30f4cca6147ddc732570b30fcb4bee30ec.tar.gz) = 24755 bytes
+SHA1 (patch-Makefile) = 749b74ce9b2a302e8ee1d9a1adb0c88f492e0283
diff -r 24cb1d68f132 -r bd3135f20e05 net/mkvserver_mk2/patches/patch-Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/mkvserver_mk2/patches/patch-Makefile Tue Dec 01 11:48:48 2020 +0000
@@ -0,0 +1,27 @@
+$NetBSD: patch-Makefile,v 1.1 2020/12/01 11:48:49 nia Exp $
+
+Respect CFLAGS/LDFLAGS.
+
+--- Makefile.orig 2020-01-16 23:31:37.000000000 +0000
++++ Makefile
+@@ -9,16 +9,16 @@ all: server
+
+ server: segment.o buffer.o publisher.o server2.c
+ #$(CC) -g -Wall $(LAV_CFLAGS) $(LAV_LDFLAGS) -pthread -o server segment.o buffer.o publisher.o server2.c
+- $(CC) -g -Wall $(LAV_CFLAGS) -pthread -o server segment.o buffer.o publisher.o server2.c $(LAV_LDFLAGS)
++ $(CC) $(LDFLAGS) -Wall $(LAV_CFLAGS) -pthread -o server segment.o buffer.o publisher.o server2.c $(LAV_LDFLAGS)
+
+ segment.o: segment.c segment.h
+- $(CC) -g -Wall $(LAV_CFLAGS) -pthread -c segment.c
++ $(CC) $(CFLAGS) -Wall $(LAV_CFLAGS) -pthread -c segment.c
+
+ buffer.o: buffer.c buffer.h
+- $(CC) -g -Wall $(LAV_CFLAGS) -pthread -c buffer.c
++ $(CC) $(CFLAGS) -Wall $(LAV_CFLAGS) -pthread -c buffer.c
+
+ publisher.o: publisher.c publisher.h
+- $(CC) -g -Wall $(LAV_CFLAGS) -pthread -c publisher.c
++ $(CC) $(CFLAGS) -Wall $(LAV_CFLAGS) -pthread -c publisher.c
+
+ clean:
+ rm -f *.o server
Home |
Main Index |
Thread Index |
Old Index