aboutsummaryrefslogtreecommitdiff
path: root/www/apache22
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2006-01-14 13:42:56 +0000
committerClement Laforet <clement@FreeBSD.org>2006-01-14 13:42:56 +0000
commit7b8f2851be3ec1f85a926667a9fd7a7e433c69b7 (patch)
tree23b7e9677948dcb07dd7dbe9826fe47fdc9c7d20 /www/apache22
parent01bb1e46d7a8fd33507ec1ffaee34555ca787953 (diff)
downloadports-7b8f2851be3ec1f85a926667a9fd7a7e433c69b7.tar.gz
ports-7b8f2851be3ec1f85a926667a9fd7a7e433c69b7.zip
Notes
Diffstat (limited to 'www/apache22')
-rw-r--r--www/apache22/Makefile27
1 files changed, 3 insertions, 24 deletions
diff --git a/www/apache22/Makefile b/www/apache22/Makefile
index c63c80b3ebff..5ea3b946fd10 100644
--- a/www/apache22/Makefile
+++ b/www/apache22/Makefile
@@ -127,6 +127,9 @@ CONFIGURE_ARGS+= --with-ldap \
--with-ldap-include="${LOCALBASE}/include"
.endif
+.include "${APACHEDIR}/Makefile.doc"
+.include "${APACHEDIR}/Makefile.modules"
+
.include <bsd.port.pre.mk>
.if defined(WITH_APR_FROM_PORTS)
@@ -144,35 +147,11 @@ CONFIGURE_ENV+= USE_BUNDLED_APR=YES
WITH_PTHREAD_LIBS?= ${PTHREAD_LIBS:S/-l//:S/-//}
WITH_PTHREAD_CFLAGS?= ${PTHREAD_CFLAGS}
-.include "${APACHEDIR}/Makefile.doc"
-.include "${APACHEDIR}/Makefile.modules"
-
CONFIGURE_ARGS+= --with-mpm=${WITH_MPM:L} ${CONFIGURE_TARGET}
show-options:
@${SED} -ne 's/^##//p' ${APACHEDIR}/Makefile.doc
-show-categories:
-.for category in ${ALL_MODULES_CATEGORIES}
- @${ECHO_MSG} "${category} contains these modules:"
- @${ECHO_MSG} " ${${category}_MODULES}"
-.endfor
-
-show-modules:
- @for module in ${AVAILABLE_MODULES} ; do \
- ${ECHO_MSG} -n "$${module}: ";\
- if ${ECHO_CMD} ${APACHE_MODULES} | ${GREP} -wq $${module} 2> /dev/null ; then \
- ${ECHO_CMD} -n "enabled "; \
- if ${ECHO_CMD} ${WITH_STATIC_MODULES} | ${GREP} -wq $${module} 2> /dev/null ; then \
- ${ECHO_CMD} "(static)" ; \
- else \
- ${ECHO_CMD} "(shared)" ;\
- fi;\
- else\
- ${ECHO_CMD} disabled ;\
- fi;\
- done
-
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} " To enable a module category: WITH_<CATEGORY>_MODULES"