diff options
author | sem <sem@FreeBSD.org> | 2004-12-26 10:16:49 +0000 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2004-12-26 10:16:49 +0000 |
commit | 9a36d746051149dc53c588173cc579dbeb0953ab (patch) | |
tree | 346f700156aad6c44fef311a48577ccef8f60481 /databases | |
parent | 38699633db270ca99922ef039f180c46cfd3e199 (diff) | |
download | FreeBSD-ports-9a36d746051149dc53c588173cc579dbeb0953ab.zip FreeBSD-ports-9a36d746051149dc53c588173cc579dbeb0953ab.tar.gz |
- Add mSQL dependence. Off by default.
Submitted by: maintainer
Diffstat (limited to 'databases')
-rw-r--r-- | databases/libdbi-drivers/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/databases/libdbi-drivers/Makefile b/databases/libdbi-drivers/Makefile index 53dc4f0..f767f63 100644 --- a/databases/libdbi-drivers/Makefile +++ b/databases/libdbi-drivers/Makefile @@ -26,12 +26,13 @@ CONFIGURE_ARGS= --disable-static \ DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} OPTIONS= MYSQL "With MySQL Driver" on \ + MSQL "With MSQL Driver" off \ PGSQL "With PostgreSQL Driver" on \ SQLITE "With SQLite Driver" on .include <bsd.port.pre.mk> -.if defined(WITHOUT_MYSQL) && defined(WITHOUT_PGSQL) && defined(WITHOUT_SQLITE) +.if defined(WITHOUT_MYSQL) && defined(WITHOUT_PGSQL) && defined(WITHOUT_SQLITE) && defined(WITHOUT_MSQL) IGNORE= You must choose at least one driver .endif @@ -59,13 +60,13 @@ PLIST_SUB+= SQLITE="" PLIST_SUB+= SQLITE="@comment " .endif -#.if defined(WITH_MSQL) -#LIB_DEPENDS+= msql.1:${PORTSDIR}/databases/msql -#CONFIGURE_ARGS+= --with-msql -#PLIST_SUB+= MSQL="" -#.else -#PLIST_SUB+= MSQL="@comment " -#.endif +.if defined(WITH_MSQL) +LIB_DEPENDS+= msql.1:${PORTSDIR}/databases/msql +CONFIGURE_ARGS+= --with-msql +PLIST_SUB+= MSQL="" +.else +PLIST_SUB+= MSQL="@comment " +.endif post-patch: @${REINPLACE_CMD} -e 's|-O20|$$CFLAGS|g' ${WRKSRC}/configure |