Hi list.

I spent a fair amount of time for installing php5 +apache today.
the problem is described in
http://trac.macports.org/projects/macports/ticket/2750
It seems no one's working on this (Look at "Last modified 3 months ago")

As a workaround, the following patch would be helpful.
should be wrong, but works ;)
(and don't forget to addd  Include /opt/local/etc/apache/extras-conf/*.conf
to your httpd.conf)

@@ -88,7 +88,7 @@
       --without-pear \
       --with-freetype-dir=${prefix}

-configure.env  CFLAGS=-I${prefix}/include/c-client
+configure.env  CFLAGS="-I${prefix}/include/c-client -DBIND_8_COMPAT=1
-DEAPI -O3"

platform darwin 6 {
       depends_lib-append      lib:libdl:dlcompat
@@ -124,7 +124,8 @@
               depends_lib-append      path:${prefix}/sbin/apxs:apache
               configure.args-append   --with-apxs=${prefix}/sbin/apxs
       } else {
-               configure.args-append   --with-apxs=/usr/sbin/apxs
+               depends_lib-append      path:${prefix}/sbin/apxs:apache
+               configure.args-append   --with-apxs=${prefix}/sbin/apxs
       }
}
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to