aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2006-01-14 21:42:56 +0800
committerclement <clement@FreeBSD.org>2006-01-14 21:42:56 +0800
commitca33f17c3db94a529dd877c196aae34acbbd262b (patch)
treeceb6712a86040372e10a5219aea7a95d8dc3a699 /www
parent5871bf183a9863754ca7b04667665734df42048f (diff)
downloadfreebsd-ports-gnome-ca33f17c3db94a529dd877c196aae34acbbd262b.tar.gz
freebsd-ports-gnome-ca33f17c3db94a529dd877c196aae34acbbd262b.tar.zst
freebsd-ports-gnome-ca33f17c3db94a529dd877c196aae34acbbd262b.zip
- Fix some suexec CONFIGURE_ARGS for 1.3.x
- add show-categories and show-modules targets, for server ports. Remove these targets from www/apache22/Makefile
Diffstat (limited to 'www')
-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"