pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/mkvserver_mk2
Module Name: pkgsrc
Committed By: nia
Date: Tue Dec 1 11:48:49 UTC 2020
Modified Files:
pkgsrc/net/mkvserver_mk2: Makefile distinfo
Added Files:
pkgsrc/net/mkvserver_mk2/patches: patch-Makefile
Log Message:
mkvserver_mk2: Respect CFLAGS/LDFLAGS. Requires pkg-config.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/mkvserver_mk2/Makefile \
pkgsrc/net/mkvserver_mk2/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/mkvserver_mk2/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/net/mkvserver_mk2/Makefile
diff -u pkgsrc/net/mkvserver_mk2/Makefile:1.1 pkgsrc/net/mkvserver_mk2/Makefile:1.2
--- pkgsrc/net/mkvserver_mk2/Makefile:1.1 Tue Oct 6 10:26:10 2020
+++ pkgsrc/net/mkvserver_mk2/Makefile Tue Dec 1 11:48:48 2020
@@ -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 @@ HOMEPAGE= https://github.com/klaxa/mkvse
COMMENT= Streaming solution to end all streaming problems
LICENSE= gnu-gpl-v3
+USE_TOOLS+= pkg-config
+
INSTALLATION_DIRS+= bin
do-install:
Index: pkgsrc/net/mkvserver_mk2/distinfo
diff -u pkgsrc/net/mkvserver_mk2/distinfo:1.1 pkgsrc/net/mkvserver_mk2/distinfo:1.2
--- pkgsrc/net/mkvserver_mk2/distinfo:1.1 Tue Oct 6 10:26:10 2020
+++ pkgsrc/net/mkvserver_mk2/distinfo Tue Dec 1 11:48:48 2020
@@ -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
Added files:
Index: pkgsrc/net/mkvserver_mk2/patches/patch-Makefile
diff -u /dev/null pkgsrc/net/mkvserver_mk2/patches/patch-Makefile:1.1
--- /dev/null Tue Dec 1 11:48:49 2020
+++ pkgsrc/net/mkvserver_mk2/patches/patch-Makefile Tue Dec 1 11:48:49 2020
@@ -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