enable the pcntl extension to replace pecl-pcntl
This commit is contained in:
parent
33c55d6f9b
commit
700e9674f5
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.16 2011/09/16 10:31:21 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.17 2011/11/17 12:52:27 robert Exp $
|
||||
|
||||
PV= 5.3
|
||||
V= ${PV}.8
|
||||
@ -21,4 +21,11 @@ WANTLIB-fpm= ${WANTLIB-main}
|
||||
RUN_DEPENDS-fpm= ${RUN_DEPENDS-main} \
|
||||
php-${V}:lang/php/${PV}
|
||||
|
||||
# pcntl
|
||||
MULTI_PACKAGES+= -pcntl
|
||||
COMMENT-pcntl= PCNTL extensions for php5
|
||||
CONFIGURE_ARGS+= --enable-pcntl=shared
|
||||
LIB_DEPENDS-pcntl=
|
||||
WANTLIB-pcntl=
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
5
lang/php/5.3/pkg/DESCR-pcntl
Normal file
5
lang/php/5.3/pkg/DESCR-pcntl
Normal file
@ -0,0 +1,5 @@
|
||||
Process Control support in PHP implements the Unix style of process
|
||||
creation, program execution, signal handling and process termination.
|
||||
Process Control should not be enabled within a web server environment
|
||||
and unexpected results may happen if any Process Control functions
|
||||
are used within a web server environment.
|
7
lang/php/5.3/pkg/PLIST-pcntl
Normal file
7
lang/php/5.3/pkg/PLIST-pcntl
Normal file
@ -0,0 +1,7 @@
|
||||
@comment $OpenBSD: PLIST-pcntl,v 1.1 2011/11/17 12:52:27 robert Exp $
|
||||
@conflict php5-pcntl->=5.2
|
||||
@conflict pecl-pctnl-*
|
||||
@pkgpath www/pecl-pcntl
|
||||
lib/php-${PV}/modules/pcntl.so
|
||||
share/examples/php-${PV}/pcntl.ini
|
||||
@sample ${SYSCONFDIR}/php-${PV}.sample/pcntl.ini
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile.inc,v 1.22 2011/11/08 10:25:48 sthen Exp $
|
||||
# $OpenBSD: Makefile.inc,v 1.23 2011/11/17 12:52:27 robert Exp $
|
||||
|
||||
# This port currently only works with archs supporting dynamic loading
|
||||
# and has Apache that supports DSO's.
|
||||
@ -340,7 +340,7 @@ pre-configure:
|
||||
${WRKSRC}/scripts/phpize.in \
|
||||
${WRKSRC}/scripts/php-config.in
|
||||
|
||||
.for i in ${MULTI_PACKAGES:N-main:N-fastcgi:N-fpm:S/-//g}
|
||||
.for i in ${MULTI_PACKAGES:N-main:N-fastcgi:N-fpm:N-pcntl:S/-//g}
|
||||
MODULE_NAME-${i}= ${i}
|
||||
DESCR-${i}= ${.CURDIR}/../files/DESCR-${i}
|
||||
MESSAGE-${i}= ${.CURDIR}/../files/MESSAGE-ext
|
||||
|
Loading…
Reference in New Issue
Block a user