mirror of
https://git.freebsd.org/ports.git
synced 2025-06-13 08:40:39 -04:00
27 lines
900 B
Text
27 lines
900 B
Text
--- ./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
|
|
##
|
|
-builddir=$(shell pwd)
|
|
+#builddir=$(shell pwd)
|
|
|
|
# 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 "| |"; \
|