diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2002-05-16 10:26:39 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2002-05-16 10:26:39 +0000 |
commit | 833c9d2bebd8cee334b9665349418d96db166a40 (patch) | |
tree | aa871d2eec897b27ca026ec8d05d403aacd8139e /net/loadd/files/patch-Makefile | |
parent | Add new ports. (diff) |
Add new ports.
PR: ports/37661
Submitted by: Alex Dupre <sysadmin@alexdupre.com>
Approved by: knu (mentor)
Notes
Notes:
svn path=/head/; revision=59250
Diffstat (limited to 'net/loadd/files/patch-Makefile')
-rw-r--r-- | net/loadd/files/patch-Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/net/loadd/files/patch-Makefile b/net/loadd/files/patch-Makefile new file mode 100644 index 000000000000..4e80c30e23ec --- /dev/null +++ b/net/loadd/files/patch-Makefile @@ -0,0 +1,29 @@ +--- Makefile.orig Mon Nov 26 07:44:48 2001 ++++ Makefile Tue May 14 14:55:55 2002 +@@ -3,18 +3,21 @@ + + SRCS=main.c socket.c icmp.c conf.c threads.c network.c aliasing.c tri.c + OBJS=${SRCS:.c=.o} +-OPTS=-pthread -pipe -Wall -ansi -O2 -march=pentiumpro -fomit-frame-pointer -ffast-math ++OPTS=${CFLAGS} ${CPPFLAGS} -Wall -ansi + #DEBUG=-DDEBUG -DDEBUGALIAS #-DDEBUGHASHTABLE + #DEBUG=-DDEBUGMONITOR +-DEFINE=-D_THREAD_SAFE -D_REENTRANT +-LIBS=-L/usr/local/lib `glib12-config --libs` ++DEFINE=${PTHREAD_CFLAGS} ++LIBS=-L${PREFIX}/lib `glib12-config --libs` ${PTHREAD_LIBS} + INCLUDE=`glib12-config --cflags` ++CC?=cc ++ ++all: loadd + + loadd: ${OBJS} +- gcc ${INCLUDE} ${DEFINE} ${DEBUG} ${OPTS} ${OBJS} -o loadd ${LIBS} ++ ${CC} ${INCLUDE} ${DEFINE} ${DEBUG} ${OPTS} ${OBJS} -o loadd ${LIBS} + + .c.o: ${SRCS} +- gcc ${INCLUDE} ${DEFINE} ${DEBUG} ${OPTS} -c $< ++ ${CC} ${INCLUDE} ${DEFINE} ${DEBUG} ${OPTS} -c $< + + clean: + rm -rf ${OBJS} loadd *.core *~ |