diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2004-12-25 22:34:07 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2004-12-25 22:34:07 +0000 |
commit | b7d0b910b7e9128f91ed1fee5d9a9b85e3a98c6e (patch) | |
tree | 0676b39f0e0ad193f91643b4bc7ec161137a06dd /databases/libdbi-drivers/Makefile | |
parent | 2dc04310e957dfa947e5cba20dcf758aad3178a0 (diff) | |
download | ports-b7d0b910b7e9128f91ed1fee5d9a9b85e3a98c6e.tar.gz ports-b7d0b910b7e9128f91ed1fee5d9a9b85e3a98c6e.zip |
Notes
Diffstat (limited to 'databases/libdbi-drivers/Makefile')
-rw-r--r-- | databases/libdbi-drivers/Makefile | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/databases/libdbi-drivers/Makefile b/databases/libdbi-drivers/Makefile index 802d0657bf3a..53dc4f04179d 100644 --- a/databases/libdbi-drivers/Makefile +++ b/databases/libdbi-drivers/Makefile @@ -8,23 +8,33 @@ PORTNAME= libdbi-drivers PORTVERSION= 0.7.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= delphij@FreeBSD.org COMMENT= Drivers for libdbi LIB_DEPENDS= dbi.0:${PORTSDIR}/databases/libdbi USE_GNOME= gnometarget lthack -USE_LIBTOOL_VER= 13 +USE_LIBTOOL_VER= 15 CONFIGURE_ARGS= --disable-static \ --with-dbi-incdir=${LOCALBASE}/include/dbi DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} +OPTIONS= MYSQL "With MySQL Driver" on \ + 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) +IGNORE= You must choose at least one driver +.endif + .if defined(WITH_MYSQL) USE_MYSQL= yes CONFIGURE_ARGS+= --with-mysql @@ -60,4 +70,4 @@ PLIST_SUB+= SQLITE="@comment " post-patch: @${REINPLACE_CMD} -e 's|-O20|$$CFLAGS|g' ${WRKSRC}/configure -.include <bsd.port.mk> +.include <bsd.port.post.mk> |