View | Details | Raw Unified | Return to bug 155703
Collapse All | Expand All

(-)bsd.database.mk (-4 / +8 lines)
Lines 15-26 Link Here
15
# USE_[DATABASE]_VER or WANT_[DATABASE]_VER will include this file as well.
15
# USE_[DATABASE]_VER or WANT_[DATABASE]_VER will include this file as well.
16
#
16
#
17
##
17
##
18
# USE_MYSQL		- Add MySQL (client/server/embedded) dependency (default:
18
# USE_MYSQL		- Add MySQL (client/server/embedded/compat) dependency
19
#				  client).
19
#				  (default: client).
20
#				  If no version is given (by the maintainer via the port or
20
#				  If no version is given (by the maintainer via the port or
21
#				  by the user via defined variable), try to find the
21
#				  by the user via defined variable), try to find the
22
#				  currently installed version.  Fall back to default if
22
#				  currently installed version.	Fall back to default if
23
#				  necessary (MySQL-5.5 = 55).
23
#				  necessary (MySQL-5.5 = 55). 'compat' allows the
24
#				  IGNORE_WITH_MYSQL functionality, but doesn't add any
25
#				  LIB_DEPENDS 
24
# DEFAULT_MYSQL_VER
26
# DEFAULT_MYSQL_VER
25
#				- MySQL default version.  Can be overridden within a port.
27
#				- MySQL default version.  Can be overridden within a port.
26
#				  Default: 55.
28
#				  Default: 55.
Lines 161-166 Link Here
161
.		endif
163
.		endif
162
.	endfor
164
.	endfor
163
.endif # IGNORE_WITH_MYSQL
165
.endif # IGNORE_WITH_MYSQL
166
.if (${USE_MYSQL} != "compat")
164
.if (${USE_MYSQL} == "server" || ${USE_MYSQL} == "embedded")
167
.if (${USE_MYSQL} == "server" || ${USE_MYSQL} == "embedded")
165
RUN_DEPENDS+=	${LOCALBASE}/libexec/mysqld:${PORTSDIR}/${_MYSQL_SERVER}
168
RUN_DEPENDS+=	${LOCALBASE}/libexec/mysqld:${PORTSDIR}/${_MYSQL_SERVER}
166
.if (${USE_MYSQL} == "embedded")
169
.if (${USE_MYSQL} == "embedded")
Lines 169-174 Link Here
169
.else
172
.else
170
LIB_DEPENDS+=	mysqlclient.${MYSQL${MYSQL_VER}_LIBVER}:${PORTSDIR}/${_MYSQL_CLIENT}
173
LIB_DEPENDS+=	mysqlclient.${MYSQL${MYSQL_VER}_LIBVER}:${PORTSDIR}/${_MYSQL_CLIENT}
171
.endif
174
.endif
175
.endif
172
.else
176
.else
173
IGNORE=		cannot install: unknown MySQL version: ${MYSQL_VER}
177
IGNORE=		cannot install: unknown MySQL version: ${MYSQL_VER}
174
.endif # Check for correct libs
178
.endif # Check for correct libs

Return to bug 155703