1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00
freebsd-ports/net/mptsd/files/patch-Makefile
Dmitry Marakasov 84b6c91edc mptsd receives mpegts streams from multicast (udp/rtp) or http and
combines them into one multiple program stream that is suitable for
outputing to DVB-C modulator.

WWW: https://github.com/gfto/mptsd
2018-06-07 12:54:42 +00:00

22 lines
677 B
Plaintext

--- Makefile.orig 2012-01-26 12:00:02 UTC
+++ Makefile
@@ -1,17 +1,8 @@
-CC = $(CROSS)$(TARGET)gcc
STRIP = $(CROSS)$(TARGET)strip
-BUILD_ID = $(shell date +%F_%R)
VERSION="v1.1"
-GIT_VER = $(shell git describe --tags --dirty --always 2>/dev/null)
-CFLAGS = -ggdb -Wall -Wextra -Wshadow -Wformat-security -Wno-strict-aliasing -O2 -D_GNU_SOURCE -DBUILD_ID=\"$(BUILD_ID)\"
-ifneq "$(GIT_VER)" ""
-CFLAGS += -DGIT_VER=\"$(GIT_VER)\"
-else
-CFLAGS += -DGIT_VER=\"$(VERSION)\"
-endif
+CFLAGS += -Wall -Wextra -Wshadow -Wformat-security -Wno-strict-aliasing -D_GNU_SOURCE -DBUILD_ID=\"FreeBSD_port\" -DGIT_VER=\"$(VERSION)\"
RM = /bin/rm -f
-Q = @
LIBS = -lpthread -lm -lrt