2003-04-03 05:25:23 -05:00
|
|
|
# $OpenBSD: Makefile.inc,v 1.9 2003/04/03 10:25:23 avsm Exp $
|
2002-06-24 15:17:49 -04:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2003-04-03 05:25:23 -05:00
|
|
|
V= 4.3.1
|
2002-06-24 15:17:49 -04:00
|
|
|
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/
|
|
|
|
|
2002-07-24 10:49:03 -04:00
|
|
|
# UPGRADERS: please read BOTH the PHP and Zend licenses
|
|
|
|
# and make sure they are safe before an upgrade
|
|
|
|
|
2002-06-24 15:17:49 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2002-08-19 22:56:48 -04:00
|
|
|
PHP_CONFIG_PATH= /var/www/conf
|
|
|
|
PHP_CONFIG_FILE= ${PHP_CONFIG_PATH}/php.ini
|
|
|
|
|
2002-06-24 15:17:49 -04:00
|
|
|
MODULES_SUBDIR= lib/php/modules
|
|
|
|
MODULES_DIR= ${LOCALBASE}/${MODULES_SUBDIR}
|
2003-04-03 05:25:23 -05:00
|
|
|
PEAR_DIR= ${LOCALBASE}/lib/php
|
2002-06-24 15:17:49 -04:00
|
|
|
|
|
|
|
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 \
|
2002-08-19 22:56:48 -04:00
|
|
|
--with-config-file-path=${PHP_CONFIG_PATH} \
|
2002-06-24 15:17:49 -04:00
|
|
|
--enable-inline-optimization \
|
|
|
|
--with-pic
|
|
|
|
|
|
|
|
# default included extensions
|
2002-07-22 12:47:33 -04:00
|
|
|
CONFIGURE_ARGS+= --with-openssl \
|
2002-07-12 06:13:56 -04:00
|
|
|
--with-zlib
|
2002-10-28 20:42:41 -05:00
|
|
|
|
2003-04-03 05:25:23 -05:00
|
|
|
REGRESS_TARGET= test
|
|
|
|
REGRESS_FLAGS= NO_INTERACTION=1
|