2fc572ef1d
(endless loop): http://bugs.php.net/bug.php?id=35067 Pull in a patch from the php CVS repository to fix this, as suggested a squirrelmail mailing list: http://cvs.php.net/diff.php/php-src/ext/standard/basic_functions.c?r1=1.543.2.51.2.3&r2=1.543.2.51.2.4&ty=u OK'd by Jaromir Dolecek, tested on apache-1 and apache-2 servers. Bump pkgrevision.
30 lines
910 B
Makefile
30 lines
910 B
Makefile
# $NetBSD: Makefile,v 1.6 2005/11/08 20:33:55 bouyer Exp $
|
|
#
|
|
|
|
PKGNAME= ap-php-${PHP_BASE_VERS}
|
|
PKGREVISION= 3
|
|
COMMENT= Apache (${PKG_APACHE}) module for ${PKG_PHP}
|
|
|
|
APACHE_MODULE= YES
|
|
SHLIBTOOL_OVERRIDE= libtool
|
|
|
|
.include "../../lang/php/phpversion.mk"
|
|
.include "${PHPPKGSRCDIR}/Makefile.php"
|
|
|
|
# Ensure we export symbols in the linked shared object.
|
|
LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS}
|
|
|
|
INSTALLATION_DIRS= lib/httpd
|
|
|
|
do-install:
|
|
if [ -f ${WRKSRC}/.libs/libphp${PKG_PHP_VERSION}.so ]; then \
|
|
${INSTALL_DATA} ${WRKSRC}/.libs/libphp${PKG_PHP_VERSION}.so \
|
|
${PREFIX}/lib/httpd/mod_php${PKG_PHP_VERSION}.so; \
|
|
elif [ -f ${WRKSRC}/libs/libphp${PKG_PHP_VERSION}.so ]; then \
|
|
${INSTALL_DATA} ${WRKSRC}/libs/libphp${PKG_PHP_VERSION}.so \
|
|
${PREFIX}/lib/httpd/mod_php${PKG_PHP_VERSION}.so; \
|
|
fi
|
|
|
|
.include "${PHPPKGSRCDIR}/buildlink3.mk"
|
|
.include "../../mk/apache.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|