diff options
author | sem <sem@FreeBSD.org> | 2004-12-25 22:34:07 +0000 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2004-12-25 22:34:07 +0000 |
commit | bf5d7e9e12ee69daf762ad08589278ecd085c46f (patch) | |
tree | acbc2c29516d556f9f94d3175528821db93c2e01 /databases | |
parent | 7afcf7eb324ea15a022ad319e3804629f04909d5 (diff) | |
download | FreeBSD-ports-bf5d7e9e12ee69daf762ad08589278ecd085c46f.zip FreeBSD-ports-bf5d7e9e12ee69daf762ad08589278ecd085c46f.tar.gz |
- OPTIONize the port to make it easier to choose drivers.
- Use libtool 1.5 rather than deprecated 1.3
- For those who don't choose any drivers, mark IGNORE to prevent
installation
- Thus bump PORTREVISION
- Pass maintainership to submitter
PR: ports/75457
Submitted by: delphij
Diffstat (limited to 'databases')
-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 802d065..53dc4f0 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> |