summaryrefslogtreecommitdiff
path: root/www/mod_layout22/files/patch-Makefile
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2014-03-09 17:42:56 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2014-03-09 17:42:56 +0000
commitd67a482188404dc2fe6334d478c3d7f23677a367 (patch)
treea1c16e6455ba7a2f3dbffd0eaabf234eed314261 /www/mod_layout22/files/patch-Makefile
parent- Update to 2.3.13 (diff)
add stage support
Notes
Notes: svn path=/head/; revision=347673
Diffstat (limited to 'www/mod_layout22/files/patch-Makefile')
-rw-r--r--www/mod_layout22/files/patch-Makefile18
1 files changed, 15 insertions, 3 deletions
diff --git a/www/mod_layout22/files/patch-Makefile b/www/mod_layout22/files/patch-Makefile
index adabd148898e..ab0cc9e1ffeb 100644
--- a/www/mod_layout22/files/patch-Makefile
+++ b/www/mod_layout22/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig 2007-02-21 22:29:07.000000000 +0100
-+++ Makefile 2008-08-31 21:53:05.000000000 +0200
-@@ -1,10 +1,10 @@
+--- ./Makefile.orig 2008-01-07 07:44:50.000000000 +0100
++++ ./Makefile 2014-03-09 18:38:09.000000000 +0100
+@@ -1,10 +1,11 @@
##
## Makefile -- Build procedure for mod_layout Apache module
##
@@ -10,6 +10,18 @@
# the used tools
-APXS=apxs
+APXS=${LOCALBASE}/sbin/apxs
++APXS_STAGE= @APXS_STAGE@
APACHECTL=apachectl
CC=`$(APXS) -q CC`
INC=-I`$(APXS) -q INCLUDEDIR` `$(APXS) -q CFLAGS` #-DLAYOUT_FILEOWNER_NAME
+@@ -57,8 +58,8 @@
+ header.o : header.c
+ $(APXS) -c header.c
+ # install the shared object file into Apache
+-install:
+- $(APXS) -iac $(INCLUDES) $(LIBS) $(SRC)
++install: mod_layout.so
++ $(APXS) $(APXS_STAGE) -i -n layout mod_layout.la
+ @echo "+--------------------------------------------------------+"; \
+ echo "| All done. |"; \
+ echo "| |"; \