Annotation of pkgsrc/www/php4/Makefile.php, Revision 1.9
1.9 ! jdolecek 1: # $NetBSD: Makefile.php,v 1.8 2003/08/31 19:56:05 jdolecek Exp $
1.1 jlam 2:
1.2 tron 3: .include "../../www/php4/Makefile.common"
1.1 jlam 4:
1.2 tron 5: DISTINFO_FILE= ${.CURDIR}/../../www/php4/distinfo
6: PATCHDIR= ${.CURDIR}/../../www/php4/patches
1.1 jlam 7:
8: USE_LIBTOOL= YES
9: GNU_CONFIGURE= YES
10:
1.8 jdolecek 11: CONFIGURE_ARGS+= --disable-cli
12:
1.1 jlam 13: CONFIGURE_ARGS+= --without-mysql
1.8 jdolecek 14: CONFIGURE_ARGS+= --without-iconv
1.1 jlam 15:
16: CONFIGURE_ARGS+= --disable-posix
17:
1.5 jlam 18: CONFIGURE_ARGS+= --with-config-file-path=${PKG_SYSCONFDIR}
1.1 jlam 19: CONFIGURE_ARGS+= --with-exec-dir=${PREFIX}/libexec/php4
20: CONFIGURE_ARGS+= --with-regex=system
21:
22: CONFIGURE_ARGS+= --enable-discard-path
23: CONFIGURE_ARGS+= --enable-force-cgi-redirect
24: CONFIGURE_ARGS+= --enable-memory-limit
25: CONFIGURE_ARGS+= --enable-track-vars
1.3 jlam 26:
27: # Support for linking some PHP4 extensions statically into the php CGI and
28: # into the apache mod_php.so DSO.
29: #
30: # PHP4_CONFIGURE_ARGS should contain GNU configure options, a complete
31: # list of which may be found at:
32: #
33: # http://www.php.net/manual/en/install.configure.php
34: #
1.9 ! jdolecek 35: # Note that this is generally not needed as many of the extensions (mysql,
! 36: # pgsql) may be dynamically loaded, and are separately packaged in pkgsrc.
1.3 jlam 37: #
38: PHP4_CONFIGURE_ARGS?= # empty
39: CONFIGURE_ARGS+= ${PHP4_CONFIGURE_ARGS}
1.1 jlam 40:
41: CONFIGURE_ENV+= ac_cv_lib_pam_pam_start=no
1.6 martti 42: CONFIGURE_ENV+= EXTENSION_DIR="${PREFIX}/${PHP_EXTENSION_DIR}"
CVSweb <webmaster@jp.NetBSD.org>