aboutsummaryrefslogtreecommitdiff
path: root/www/apache22
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-05-07 05:56:58 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-05-07 05:56:58 +0000
commitfeb214d3d7db7101124279248bee3e953355e2f8 (patch)
tree8a38e03225367750102fcdce42cab59c5a99b5ba /www/apache22
parente1eeef85205bf9509974bedbbdddd9143a92e400 (diff)
downloadports-feb214d3d7db7101124279248bee3e953355e2f8.tar.gz
ports-feb214d3d7db7101124279248bee3e953355e2f8.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@
Notes
Notes: svn path=/head/; revision=253890
Diffstat (limited to 'www/apache22')
-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::