diff options
Diffstat (limited to 'net/lmd/files/patch-modules_check::Makefile')
-rw-r--r-- | net/lmd/files/patch-modules_check::Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net/lmd/files/patch-modules_check::Makefile b/net/lmd/files/patch-modules_check::Makefile new file mode 100644 index 0000000..7ef750a --- /dev/null +++ b/net/lmd/files/patch-modules_check::Makefile @@ -0,0 +1,22 @@ +--- modules_check/Makefile.orig Mon Nov 26 07:31:09 2001 ++++ modules_check/Makefile Tue May 14 14:16:16 2002 +@@ -1,14 +1,15 @@ + # If you want to debug lmd comment out this line and recompile it + # Launch lmd with -v option to see debug messages + #DEBUG=-DDEBUG +-OPTS=-Wall -fomit-frame-pointer -O2 -pipe -ansi ++OPTS=${CFLAGS} ${CPPFLAGS} -ansi ++CC?=cc + + all: socket.o +- gcc ${DEBUG} ${OPTS} -c ldd_http_module.c +- gcc ${DEBUG} -shared ldd_http_module.o socket.o -o ldd_http_module.so ++ ${CC} ${DEBUG} ${OPTS} -c ldd_http_module.c ++ ${CC} ${DEBUG} -shared ldd_http_module.o socket.o -o ldd_http_module.so + + socket.o: +- gcc -c ../socket.c -o socket.o ++ ${CC} -c ../socket.c -o socket.o + + clean: + rm *.so *.o |