freebsd-ports/net/osrtspproxy/files/patch-rtspproxy-Makefile.in
John Marino f19353cd33 net/osrtspproxy: use -lpthread instead of pthread, fix on DragonFly
Also enable passing of LDFLAGS but this functionality isn't needed atm.
2014-10-20 12:42:09 +00:00

27 lines
688 B
Text

--- rtspproxy/Makefile.in.orig 2001-02-07 23:40:54 UTC
+++ rtspproxy/Makefile.in
@@ -1,10 +1,10 @@
-CC=@CC@
-CXX=@CXX@
+CC?=@CC@
+CXX?=@CXX@
LD=@LD@
-CFLAGS=@CFLAGS@ -I../libapp -I../librtsp -I.
-CXXFLAGS=@CXXFLAGS@ -I../libapp -I../librtsp -I.
-LDFLAGS=@LDFLAGS@
+CFLAGS+=@CFLAGS@ -I../libapp -I../librtsp -I.
+CXXFLAGS+=@CXXFLAGS@ -I../libapp -I../librtsp -I.
+LDFLAGS+=@LDFLAGS@
SYSLIBS=@SYSLIBS@
OBJS=rtspproxy.o proxysession.o tranhdr.o proxytran.o
@@ -24,7 +24,7 @@ TARGET=rtspproxy
all: $(TARGET)
$(TARGET): $(OBJS) $(LIBS)
- $(LD) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
+ $(CXX) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
clean:
rm -f rtspproxy $(OBJS) core