diff options
author | pav <pav@FreeBSD.org> | 2004-07-18 01:34:03 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-07-18 01:34:03 +0800 |
commit | ff6ff82e8a72dd9b261ebf8e3ac47a1bea1c98c8 (patch) | |
tree | a9141f6be91721e92af26b6b15381cb978d389c1 /www | |
parent | 9e89ba884c52773347002cc90d511e6140a2bb2a (diff) | |
download | freebsd-ports-gnome-ff6ff82e8a72dd9b261ebf8e3ac47a1bea1c98c8.tar.gz freebsd-ports-gnome-ff6ff82e8a72dd9b261ebf8e3ac47a1bea1c98c8.tar.zst freebsd-ports-gnome-ff6ff82e8a72dd9b261ebf8e3ac47a1bea1c98c8.zip |
- Unbreak on 4.x: adapt make(1) syntax
PR: ports/69139
Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com> (maintainer)
Diffstat (limited to 'www')
-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 $@ $< |