A patch for installing php5 -macosx +apache

js ebgssth at gmail.com
Sat Apr 28 11:38:40 PDT 2007


Hi list.

Here's a patch I created to install php5 -macosx +apache.
(PHP5 module for MacPorts' Apache1)

--- php5.orig   2007-04-29 02:57:12.000000000 +0900
+++ php5.new    2007-04-29 03:18:41.000000000 +0900
@@ -138,6 +138,10 @@
 variant apache conflicts apache2 fastcgi {
        if { ! [variant_isset macosx] } {
                depends_lib-append \
+                       port:kerberos5
+               configure.args-append \
+                       --with-kerberos=${prefix}
+               depends_lib-append \
                        path:${prefix}/sbin/apxs:apache
                configure.args-append \
                        --with-apxs=${prefix}/sbin/apxs

The reason I added kerberos5 to the depends_lib is
that c-client, another depends_lib of php5, seems to require Kerberos.
(Look at http://jp.php.net/imap for further info)

Probably I don't need c-client, or should I say I know next to nothing
about c-client
So this patch is not a good way of solving this.

Any comments, suggestions would greatly appriciated.



More information about the macports-users mailing list