diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-07-17 17:34:03 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-07-17 17:34:03 +0000 |
commit | 64de42939c16298ecac1b4604a8fc2fb164a4fe6 (patch) | |
tree | 0fd09f0b833c5934f1287a8cd1aad34dacc2ce31 | |
parent | ca01b1bd55bdabb1d5502f1d7a11dbb2a45f3ed1 (diff) |
Notes
-rw-r--r-- | www/suphp/files/patch-src::Makefile.in | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/www/suphp/files/patch-src::Makefile.in b/www/suphp/files/patch-src::Makefile.in index c3925d8f684f..4035be6302d0 100644 --- a/www/suphp/files/patch-src::Makefile.in +++ b/www/suphp/files/patch-src::Makefile.in @@ -1,10 +1,35 @@ --- src/Makefile.in.orig Mon Aug 25 11:50:48 2003 -+++ src/Makefile.in Mon Aug 25 11:50:55 2003 -@@ -39,7 +39,6 @@ ++++ src/Makefile.in Thu Jul 15 22:52:13 2004 +@@ -28,11 +28,13 @@ + INCLUDES = -I$(top_srcdir)/src + RM = rm -f + ++SRCS= suphp.c filesystem.c check.c error.c log.c compat.c ++OBJS= ${SRCS:.c=.o} ++ + all: suphp suphp.mod + +-suphp: suphp.o filesystem.o check.o error.o log.o compat.o +- $(CC) $(LDFLAGS) $(DEFS) -o suphp \ +- suphp.o filesystem.o check.o error.o log.o compat.o ++suphp: ${OBJS} ++ $(CC) $(LDFLAGS) $(DEFS) -o suphp ${OBJS} + + suphp.mod: + @if test "$(APXS)" != "/notfound/"; then \ +@@ -49,7 +51,6 @@ fi install: suphp suphp.mod - $(INSTALL_PROGRAM) -d $(DESTDIR)$(sbindir) $(INSTALL_PROGRAM) -m 4755 suphp $(DESTDIR)$(sbindir)/suphp - @$(MAKE) $(MAKEDEFS) -C apache install + @if test "$(APXS)" != "/notfound/"; then \ + if test "$(APACHE_VERSION_2)" = "true"; then \ +@@ -69,6 +70,6 @@ + @$(MAKE) $(MAKEDEFS) -C apache clean + @$(MAKE) $(MAKEDEFS) -C apache2 clean + +-%.o : %.c ++${OBJS}: ${SRCS} + $(CC) -c $(CFLAGS) $(DEFS) $(INCLUDES) -o $@ $< |