pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

www/ap-php fails to build Darwin (Mac OS X)



More Apple Darwin (Mac OS X 10.6) fallout form the nuclear holocaust.

This time mod_php aka www/ap-php

Ian McWilliam


===================================================================
RCS file: /cvsroot/pkgsrc/www/ap-php/Makefile,v
retrieving revision 1.21
diff -u -r1.21 Makefile
--- Makefile    12 Jun 2008 02:14:54 -0000      1.21
+++ Makefile    13 Sep 2009 08:49:20 -0000
@@ -21,6 +21,11 @@

 INSTALLATION_DIRS=     lib/httpd

+# Make sure modules can link correctly
+.if ${OPSYS} == "Darwin"
+LDFLAGS+=-lresolv
+.endif
+
 do-install:
        if [ -f ${WRKSRC}/.libs/libphp${PKG_PHP_VERSION}.so ]; then     \
                ${INSTALL_DATA} ${WRKSRC}/.libs/libphp${PKG_PHP_VERSION}.so \



Home | Main Index | Thread Index | Old Index