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

(-)Makefile (-7 / +7 lines)
Lines 16-33 Link Here
16
MAINTAINER=	knu@FreeBSD.org
16
MAINTAINER=	knu@FreeBSD.org
17
COMMENT=	Ruby module for accessing MySQL databases with a C API like interface
17
COMMENT=	Ruby module for accessing MySQL databases with a C API like interface
18
18
19
USE_RUBY=	yes
20
USE_RUBY_EXTCONF=	yes
21
22
.include <bsd.port.pre.mk>
23
19
.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.10)
24
.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.10)
20
LIB_DEPENDS=	mysqlclient.10:${PORTSDIR}/databases/mysql323-client
25
LIB_DEPENDS=	mysqlclient.10:${PORTSDIR}/databases/mysql323-client
21
.else
26
.elif exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.14)
22
.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.14)
23
LIB_DEPENDS=	mysqlclient.14:${PORTSDIR}/databases/mysql41-client
27
LIB_DEPENDS=	mysqlclient.14:${PORTSDIR}/databases/mysql41-client
24
.else
28
.else
25
LIB_DEPENDS=	mysqlclient.12:${PORTSDIR}/databases/mysql40-client
29
LIB_DEPENDS=	mysqlclient.12:${PORTSDIR}/databases/mysql40-client
26
.endif
30
.endif
27
.endif
28
29
USE_RUBY=	yes
30
USE_RUBY_EXTCONF=	yes
31
31
32
CONFIGURE_ARGS=	--with-mysql-dir="${LOCALBASE}"
32
CONFIGURE_ARGS=	--with-mysql-dir="${LOCALBASE}"
33
INSTALL_TARGET=	site-install
33
INSTALL_TARGET=	site-install
Lines 41-44 Link Here
41
	${LN} -fs ../tommy.css ${RUBY_MODDOCDIR}/ja/
41
	${LN} -fs ../tommy.css ${RUBY_MODDOCDIR}/ja/
42
.endif
42
.endif
43
43
44
.include <bsd.port.mk>
44
.include <bsd.port.post.mk>

Return to bug 81950