|
Lines 27-33
Link Here
|
| 27 |
CONFIGURE_ARGS= --enable-apc |
27 |
CONFIGURE_ARGS= --enable-apc |
| 28 |
CFLAGS= -I${LOCALBASE}/include |
28 |
CFLAGS= -I${LOCALBASE}/include |
| 29 |
|
29 |
|
| 30 |
OPTIONS= MMAP "Enable mmap memory support (default: IPC shm)" off \ |
30 |
OPTIONS= IPC "Enable IPC shm memory support (default: mmap)" off \ |
| 31 |
SEMAPHORES "Enable sysv IPC semaphores (default: fcntl())" off \ |
31 |
SEMAPHORES "Enable sysv IPC semaphores (default: fcntl())" off \ |
| 32 |
SPINLOCKS "Enable spinlocks (experimental)" off \ |
32 |
SPINLOCKS "Enable spinlocks (experimental)" off \ |
| 33 |
FILEHITS "Enable per request cache info" off |
33 |
FILEHITS "Enable per request cache info" off |
|
Lines 36-43
Link Here
|
| 36 |
|
36 |
|
| 37 |
.include <bsd.port.pre.mk> |
37 |
.include <bsd.port.pre.mk> |
| 38 |
|
38 |
|
| 39 |
.if defined(WITH_MMAP) |
39 |
.if defined(WITH_IPC) |
| 40 |
CONFIGURE_ARGS+= --ensable-apc-mmap |
40 |
CONFIGURE_ARGS+= --disable-apc-mmap |
| 41 |
.endif |
41 |
.endif |
| 42 |
|
42 |
|
| 43 |
.if defined(WITH_SEMAPHORES) |
43 |
.if defined(WITH_SEMAPHORES) |