aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-05-07 13:56:58 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-05-07 13:56:58 +0800
commitb1a72a94931cb2cd6e8ec3ff296467637ddd0e49 (patch)
treefe72aec55947e047a86c3ba604c293d97fafbef4 /www
parent90dff816f5c6475d8c7e4da1b70caa993ca00951 (diff)
downloadfreebsd-ports-gnome-b1a72a94931cb2cd6e8ec3ff296467637ddd0e49.tar.gz
freebsd-ports-gnome-b1a72a94931cb2cd6e8ec3ff296467637ddd0e49.tar.zst
freebsd-ports-gnome-b1a72a94931cb2cd6e8ec3ff296467637ddd0e49.zip
2/2: fix mod_auth_digest builds which needs EGD and DEVRANDOM.
This fixes both bundled apr using the port (devel/apr for WITH_APR_FROM_PORTS) PR: ports/134577 Requested by: Pascal Vizeli <pvizeli@yahoo.de> With Hat: apache@
Diffstat (limited to 'www')
-rw-r--r--www/apache22/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/apache22/Makefile b/www/apache22/Makefile
index 3cc6308a3f95..d32846e10079 100644
--- a/www/apache22/Makefile
+++ b/www/apache22/Makefile
@@ -170,6 +170,17 @@ CONFIGURE_ARGS+= --enable-nonportable-atomics
. endif
.endif
+.if defined(WITH_AUTH_DIGEST)
+WITH_EGD= yes
+WITH_DEVRANDOM= yes
+.endif
+.if defined(WITH_EGD)
+CONFIGURE_ARGS+= --with-egd
+.endif
+.if defined(WITH_DEVRANDOM)
+CONFIGURE_ARGS+= --with-devrandom
+.endif
+
CONFIGURE_ARGS+= --with-mpm=${WITH_MPM:L}
pre-everything::