aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql2odbc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysql2odbc/Makefile')
-rw-r--r--databases/mysql2odbc/Makefile19
1 files changed, 4 insertions, 15 deletions
diff --git a/databases/mysql2odbc/Makefile b/databases/mysql2odbc/Makefile
index 83df38582099..3ca7ede3a789 100644
--- a/databases/mysql2odbc/Makefile
+++ b/databases/mysql2odbc/Makefile
@@ -3,34 +3,23 @@
PORTNAME= mysql2odbc
PORTVERSION= 0.99.2
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= databases
MASTER_SITES= http://www.iodbc.org/downloads/mysql2odbc/
MAINTAINER= fjoe@FreeBSD.org
COMMENT= Openlink MySQL-ODBC Gateway
-OPTIONS_SINGLE= ODBC
-OPTIONS_SINGLE_ODBC= UNIXODBC IODBC
-OPTIONS_DEFAULT= UNIXODBC
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MUNIXODBC}
LIB_DEPENDS= libodbc.so:${PORTSDIR}/databases/unixODBC
CONFIGURE_ARGS= --with-unixodbc=${LOCALBASE}
-.endif
-
-.if ${PORT_OPTIONS:MIODBC}
-LIB_DEPENDS= libiodbc.so:${PORTSDIR}/databases/libiodbc
-CONFIGURE_ARGS= --with-iodbc
-.endif
+USES= libtool
+GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--libdir=${PREFIX}/mysql2odbc
CPPFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS}
+INSTALL_TARGET= install-strip
-USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
.include <bsd.port.mk>