diff options
author | sada <sada@FreeBSD.org> | 2001-10-25 22:36:41 +0800 |
---|---|---|
committer | sada <sada@FreeBSD.org> | 2001-10-25 22:36:41 +0800 |
commit | 86fc6d21bc5c6cc523eb6497e0b5e86a23b28a15 (patch) | |
tree | 073695a48d6f842d851751c009a3358bd6f3b965 /net/spread4/files | |
parent | 756634bda1d567a11d75e2d20ef6f481198bb229 (diff) | |
download | freebsd-ports-gnome-86fc6d21bc5c6cc523eb6497e0b5e86a23b28a15.tar.gz freebsd-ports-gnome-86fc6d21bc5c6cc523eb6497e0b5e86a23b28a15.tar.zst freebsd-ports-gnome-86fc6d21bc5c6cc523eb6497e0b5e86a23b28a15.zip |
New port: net/spread
WWW: http://www.spread.org
PR: ports/28025
Submitted by: Anders Nordby <anders@fix.no>
Diffstat (limited to 'net/spread4/files')
-rw-r--r-- | net/spread4/files/patch-FreeBSD_makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/net/spread4/files/patch-FreeBSD_makefile b/net/spread4/files/patch-FreeBSD_makefile new file mode 100644 index 000000000000..99a446859799 --- /dev/null +++ b/net/spread4/files/patch-FreeBSD_makefile @@ -0,0 +1,36 @@ +--- FreeBSD_makefile.orig Mon Oct 2 16:09:34 2000 ++++ FreeBSD_makefile Mon Jun 11 02:10:13 2001 +@@ -1,4 +1,3 @@ +-CC=gcc + MAKEFILE=FreeBSD_makefile + YACC = bison -y + LEX = flex +@@ -8,8 +7,8 @@ + #SRCDIRS= dir1 dir2 + #INCL=$(SRCDIRS:%=-I%) + #CFLAGS = -O does not always work on BSDI pc +-CFLAGS = -ansi -c -Wall -O3 +-TCFLAGS = $(CFLAGS) -pthread ++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 + + tuser : user.to libtsp.a +- $(CC) -pthread -o tuser user.to libtsp.a ++ $(CC) $(PTHREAD_LIBS) -o tuser 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 + + .c.to: +- $(CC) $(TCFLAGS) -D_THREAD_SAFE -D_REENTRANT $*.c -o $*.to ++ $(CC) $(TCFLAGS) $(PTHREAD_CFLAGS) -D_REENTRANT $*.c -o $*.to + + depend: + cp $(MAKEFILE) $(MAKEFILE).bak \ |