151101789e
Add a hardened flavor for both core and extensions (inspired by niallo@); Use our own way to install pear because the bundled installer is totally broken and upstream refuses to fix it. Add a mysqli subpackage which can be used to access the functionality provided by MySQL 4.1 and above. Other minor changes and fixes are also included. ok sturm@; tested by many
19 lines
410 B
Makefile
19 lines
410 B
Makefile
# $OpenBSD: pear.port.mk,v 1.3 2006/05/09 14:15:40 robert Exp $
|
|
# PHP PEAR module
|
|
|
|
RUN_DEPENDS+= :php5-pear-*:www/php5/core,-pear
|
|
BUILD_DEPENDS+= ${RUN_DEPENDS}
|
|
|
|
NO_BUILD= Yes
|
|
.if !target(do-regress)
|
|
NO_REGRESS= Yes
|
|
.endif
|
|
|
|
MAKE_FILE= ${PORTSDIR}/www/php5/pear/Makefile.pear
|
|
FAKE_FLAGS+= WRKINST=${WRKINST} WRKDIR=${WRKDIR}
|
|
|
|
PREFIX= /var/www
|
|
|
|
PEAR_LIBDIR= ${PREFIX}/pear/lib
|
|
PEAR_PHPBIN= ${LOCALBASE}/bin/php
|