|
Lines 357-362
Link Here
|
| 357 |
# If set to an unkown value, the port is marked BROKEN. |
357 |
# If set to an unkown value, the port is marked BROKEN. |
| 358 |
# |
358 |
# |
| 359 |
## |
359 |
## |
|
|
360 |
# USE_APACHE - Add Apache web server dependency. |
| 361 |
# |
| 362 |
# DEFAULT_APACHE_VER - Default Apache version. Can be overriden within a |
| 363 |
# port. Default: 2. |
| 364 |
# WANT_APACHE_VER - Says that the port requires this version. Legal |
| 365 |
# values: 13, 2. |
| 366 |
## |
| 360 |
# USE_JAVA - Says that the port relies on the Java language. |
367 |
# USE_JAVA - Says that the port relies on the Java language. |
| 361 |
# Implies inclusion of bsd.java.mk. (Also see |
368 |
# Implies inclusion of bsd.java.mk. (Also see |
| 362 |
# that file for more information on USE_JAVA_*). |
369 |
# that file for more information on USE_JAVA_*). |
|
Lines 1045-1050
Link Here
|
| 1045 |
BROKEN= "unknown OpenLDAP version: ${WANT_OPENLDAP_VER}" |
1052 |
BROKEN= "unknown OpenLDAP version: ${WANT_OPENLDAP_VER}" |
| 1046 |
.endif |
1053 |
.endif |
| 1047 |
.endif |
1054 |
.endif |
|
|
1055 |
|
| 1056 |
.if defined(USE_APACHE) |
| 1057 |
DEFAULT_APACHE_VER?= 2 |
| 1058 |
|
| 1059 |
# Setting/finding Apache version we want. |
| 1060 |
.if defined(WANT_APACHE_VER) |
| 1061 |
APACHE_VER= ${WANT_APACHE_VER} |
| 1062 |
.elif defined(WITH_APACHE_VER) |
| 1063 |
APACHE_VER= ${WITH_APACHE_VER} |
| 1064 |
.elif exists(${LOCALBASE}/include/apache2/apr.h) |
| 1065 |
APACHE_VER= 2 |
| 1066 |
.elif exists(${LOCALBASE}/include/apache/ap.h) |
| 1067 |
APACHE_VER= 13 |
| 1068 |
.else |
| 1069 |
APACHE_VER= ${DEFAULT_APACHE_VER} |
| 1070 |
.endif # WANT_APACHE |
| 1071 |
|
| 1072 |
APXS?= ${LOCALBASE}/sbin/apxs |
| 1073 |
APACHE_PORT?= ${PORTSDIR}/www/apache${APACHE_VER} |
| 1074 |
|
| 1075 |
# And now we are checking if we can use it |
| 1076 |
.if exists(${APACHE_PORT}) |
| 1077 |
BUILD_DEPENDS+= ${APXS}:${APACHE_PORT} |
| 1078 |
RUN_DEPENDS+= ${APXS}:${APACHE_PORT} |
| 1079 |
.else |
| 1080 |
BROKEN= "unknown Apache version: ${APACHE_VER}" |
| 1081 |
.endif # Check for correct deps |
| 1082 |
.endif # USE_APACHE |
| 1048 |
|
1083 |
|
| 1049 |
.if defined(EMACS_PORT_NAME) |
1084 |
.if defined(EMACS_PORT_NAME) |
| 1050 |
.include "${PORTSDIR}/Mk/bsd.emacs.mk" |
1085 |
.include "${PORTSDIR}/Mk/bsd.emacs.mk" |