freebsd-ports/multimedia/replex/files/patch-Makefile
Dirk Meyer e638b9b307 Replex was created to remultiplex transport stream (TS) data taken from a DVB
source. The result is supposed to be a program stream (PS) that can be
used to be burned to a DVD (with dvdauthor).
Replex can also remultiplex other PSs and AVIs with MPEG2 content.

WWW: http://www.metzlerbros.org/dvb/
2004-01-20 04:45:05 +00:00

29 lines
870 B
Text

--- Makefile.orig Sun Dec 28 17:57:19 2003
+++ Makefile Tue Jan 20 05:17:32 2004
@@ -2,7 +2,7 @@
DISTNAME = replex-$(VERSION)
TARNAME = $(DISTNAME).tar.gz
INCS = -I..
-CFLAGS = -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
+CFLAGS += -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
LIBS = -L.
MFLAG = -M
OBJS = element.o pes.o mpg_common.o ts.o ringbuffer.o avi.o multiplex.o
@@ -26,7 +26,7 @@
ar -rcs libreplex.a $(OBJS)
replex: libreplex.a replex.o
- $(CC) -o replex replex.o -L. -lreplex
+ $(CC) $(LDFLAGS) -o replex replex.o -L. -lreplex
dist: $(SRC) $(HEADERS) Makefile
mkdir $(DISTNAME)
@@ -47,7 +47,7 @@
.depend:
- $(CC) $(DEFINES) $(MFLAG) $(SRC) $(CSRC) $(CPPSRC) $(INCS)> .depend
+ $(CC) $(CFLAGS) $(DEFINES) $(MFLAG) $(SRC) $(CSRC) $(CPPSRC) $(INCS)> .depend