1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-08 23:06:56 +00:00
freebsd-ports/net/rtsp_proxy/files/patch-aa
Bill Fumerola 04001a7aa9 Use -pthread not libc_r
Submitted by:	jmg
1999-06-16 18:11:45 +00:00

22 lines
512 B
Plaintext

--- Makefile Wed Apr 21 15:45:50 1999
+++ Makefile Tue Jun 8 01:54:44 1999
@@ -1,6 +1,7 @@
NAME=rtsp_proxy
OPT=-g
FLAGS=$(OPT) -Dunix -I..
+BSDFLAGS=-DUSE_THREAD=1 -I..
SGIFLAGS=-signed -Xcpluscomm -DUSE_THREAD=1
SUNFLAGS=-xCC -DUSE_THREAD=1
LINUXFLAGS=-DUSE_THREAD=0
@@ -22,6 +23,10 @@
$(MAINDIR)util.h \
$(MAINDIR)shared_udp.h \
$(MAINDIR)getopt.h
+
+freebsd: $(NAME)
+$(NAME): $(SRC) $(HDR)
+ $(CC) $(CFLAGS) $(BSDFLAGS) $(SRC) -o $(NAME) -pthread
sgi: $(NAME).sgi
$(NAME).sgi: $(SRC) $(HDR)