mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Mark IGNORE with php 5.5.x
- Convert to new options helper
This commit is contained in:
parent
66b19980ec
commit
f79ddc069e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330984
@ -23,6 +23,8 @@ SPINLOCKS_DESC= Spinlocks (experimental)
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
CONFIGURE_ARGS= --enable-apc
|
||||
IGNORE_WITH_PHP=55
|
||||
NO_STAGE= yes
|
||||
PHP_MODNAME= ${PORTNAME:L}
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
SUB_FILES= pkg-message
|
||||
@ -32,25 +34,13 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-3.1.13
|
||||
|
||||
PORTDOCS= CHANGELOG INSTALL NOTICE apc.php
|
||||
|
||||
NO_STAGE= yes
|
||||
FILEHITS_CONFIGURE_ARGS=--enable-apc-filehits
|
||||
IPC_CONFIGURE_ARGS= --disable-apc-mmap
|
||||
SEMAPHORES_CONFIGURE_ARGS= --enable-apc-sem
|
||||
SPINLOCKS_CONFIGURE_ARGS= --enable-apc-spinlocks
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MFILEHITS}
|
||||
CONFIGURE_ARGS+=--enable-apc-filehits
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MIPC}
|
||||
CONFIGURE_ARGS+=--disable-apc-mmap
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MSEMAPHORES}
|
||||
CONFIGURE_ARGS+=--enable-apc-sem
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MSPINLOCKS}
|
||||
CONFIGURE_ARGS+=--enable-apc-spinlocks
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}/
|
||||
|
Loading…
Reference in New Issue
Block a user