diff options
Diffstat (limited to 'net/spread/files')
-rw-r--r-- | net/spread/files/patch-FreeBSD_makefile | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/net/spread/files/patch-FreeBSD_makefile b/net/spread/files/patch-FreeBSD_makefile index 99a446859799..cbc4f76a9964 100644 --- a/net/spread/files/patch-FreeBSD_makefile +++ b/net/spread/files/patch-FreeBSD_makefile @@ -1,5 +1,5 @@ ---- FreeBSD_makefile.orig Mon Oct 2 16:09:34 2000 -+++ FreeBSD_makefile Mon Jun 11 02:10:13 2001 +--- FreeBSD_makefile.orig Wed Aug 22 00:28:21 2001 ++++ FreeBSD_makefile Thu Feb 28 23:27:26 2002 @@ -1,4 +1,3 @@ -CC=gcc MAKEFILE=FreeBSD_makefile @@ -11,22 +11,22 @@ #CFLAGS = -O does not always work on BSDI pc -CFLAGS = -ansi -c -Wall -O3 -TCFLAGS = $(CFLAGS) -pthread -+CFLAGS+= -ansi -c ++CFLAGS += -ansi -c +TCFLAGS = $(CFLAGS) $(PTHREAD_LIBS) - COBJS = lex.yy.o y.tab.o configuration.o skiplist.o - OBJS = alarm.o events.o memory.o membership.o data_link.o network.o status.o log.o flow_control.o message.o -@@ -28,7 +27,7 @@ - $(CC) -o user user.o libsp.a + COBJS = lex.yy.o y.tab.o configuration.o skiplist.o acm.o + OBJS = alarm.o events.o memory.o membership.o data_link.o network.o status.o log.o flow_control.o message.o acp-permit.o auth-null.o auth-ip.o +@@ -30,7 +29,7 @@ + $(CC) -o spuser user.o libsp.a - tuser : user.to libtsp.a -- $(CC) -pthread -o tuser user.to libtsp.a -+ $(CC) $(PTHREAD_LIBS) -o tuser user.to libtsp.a + sptuser : user.to libtsp.a +- $(CC) -pthread -o sptuser user.to libtsp.a ++ $(CC) $(PTHREAD_LIBS) -o sptuser user.to libtsp.a simple_user : simple_user.o libsp.a $(CC) -o simple_user simple_user.o libsp.a -@@ -64,7 +63,7 @@ - $(CC) $(CFLAGS) $*.c +@@ -78,7 +77,7 @@ + $(CC) $(TCFLAGS) -fPIC -D_REENTRANT $*.c -o $*.tlo .c.to: - $(CC) $(TCFLAGS) -D_THREAD_SAFE -D_REENTRANT $*.c -o $*.to |