openbsd-ports/www/php4/Makefile.inc
naddy 139703d153 There is a regression test suite, but I don't know how to best run
them within the framework of this port, so temporarily disable the
tests.
2002-10-29 01:42:41 +00:00

54 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile.inc,v 1.8 2002/10/29 01:42:41 naddy Exp $
# This port currently only works with archs supporting dynamic loading
# and has Apache that supports DSO's.
ONLY_FOR_ARCHS= alpha i386 m68k powerpc sparc sparc64
V= 4.2.3
DISTNAME= php-${V}
CATEGORIES= www lang
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
HOMEPAGE= http://www.php.net/
MASTER_SITES= http://www.php.net/distributions/ \
http://se.php.net/distributions/ \
http://no.php.net/distributions/ \
http://uk.php.net/distributions/
# UPGRADERS: please read BOTH the PHP and Zend licenses
# and make sure they are safe before an upgrade
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PHP_CONFIG_PATH= /var/www/conf
PHP_CONFIG_FILE= ${PHP_CONFIG_PATH}/php.ini
MODULES_SUBDIR= lib/php/modules
MODULES_DIR= ${LOCALBASE}/${MODULES_SUBDIR}
CONFIGURE_STYLE= autoconf
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
EXTENSION_DIR=${MODULES_DIR}
MAKE_ENV= ${CONFIGURE_ENV}
CONFIGURE_ARGS+= --enable-shared \
--disable-static \
--disable-rpath \
--with-config-file-path=${PHP_CONFIG_PATH} \
--enable-inline-optimization \
--with-pic
# default included extensions
CONFIGURE_ARGS+= --with-openssl \
--with-zlib
# XXX How to run the test suite?
NO_REGRESS= Yes