- This port does not build with iODBC yet -- remove WITH_UNIXODBC/IODBC

options
- Bump PORTREVISION
This commit is contained in:
Max Khon 2005-09-13 11:49:07 +00:00
parent 2c637d83be
commit 61c1edcf8f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=142583

View file

@ -7,6 +7,7 @@
PORTNAME= oracle_odbc_driver
PORTVERSION= 0.5.5
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://fndapl.fnal.gov/~dbox/oracle/odbc/
DISTNAME= ${PORTNAME}.${PORTVERSION}
@ -14,22 +15,8 @@ DISTNAME= ${PORTNAME}.${PORTVERSION}
MAINTAINER= fjoe@FreeBSD.org
COMMENT= Oracle Open Source ODBC driver
OPTIONS= UNIXODBC "Build with unixODBC" on \
IODBC "Build with iODBC" off \
.if !defined(WITH_UNIXODBC) && !defined(WITH_IODBC)
WITH_UNIXODBC= yes
.endif
.if defined(WITH_UNIXODBC)
LIB_DEPENDS= odbc:${PORTSDIR}/databases/unixODBC
CONFIGURE_ARGS= --with-unixODBC=${LOCALBASE}
.endif
.if defined(WITH_IODBC)
LIB_DEPENDS= iodbc:${PORTSDIR}/databases/libiodbc
CONFIGURE_ARGS= --without-unixODBC
.endif
BUILD_DEPENDS= ${ORACLE_HOME}/lib/libclntst8.a:${PORTSDIR}/databases/oracle8-client
RUN_DEPENDS= ${BUILD_DEPENDS}