Ticket #6749: apache2-openldap-variant.patch.txt

File apache2-openldap-variant.patch.txt, 885 bytes (added by blair (Blair Zajac), 18 years ago)

Portfile patch to add the openldap variant.

Line 
1diff -ru /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/www/apache2/Portfile ./Portfile
2--- /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/www/apache2/Portfile   2005-12-07 14:16:43.000000000 -0800
3+++ ./Portfile  2006-01-23 20:51:29.000000000 -0800
4@@ -3,6 +3,7 @@
5 PortSystem 1.0
6 name             apache2
7 version          2.2.0
8+revision         1
9 categories       www
10 maintainers      james@imajes.info
11 description      The extremely popular second version of the Apache http server
12@@ -72,6 +73,11 @@
13        build.env-append "LD_LIBRARY_PATH=${prefix}/lib"
14 }
15 
16+variant openldap {
17+       configure.args-append --enable-ldap --enable-authnz-ldap
18+       depends_lib-append port:openldap
19+}
20+
21 startupitem.create     yes
22 startupitem.start      \
23 "\[ -x ${prefix}/apache2/bin/apachectl \] && ${prefix}/apache2/bin/apachectl start > /dev/null"