aboutsummaryrefslogtreecommitdiff
path: root/databases/libodbc++
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2006-11-12 14:53:27 +0000
committerMax Khon <fjoe@FreeBSD.org>2006-11-12 14:53:27 +0000
commit5d63e7be76dd6c8fa2bd7a4895959b45ed126374 (patch)
tree2e078c1f9d36bd5b0b87f11f80d84295e79777f1 /databases/libodbc++
parente9cb799675862b7b0108b6fc90faccb1101c4234 (diff)
downloadports-5d63e7be76dd6c8fa2bd7a4895959b45ed126374.tar.gz
ports-5d63e7be76dd6c8fa2bd7a4895959b45ed126374.zip
Notes
Diffstat (limited to 'databases/libodbc++')
-rw-r--r--databases/libodbc++/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/databases/libodbc++/Makefile b/databases/libodbc++/Makefile
index 6c93347aa4f7..7e9b0154d8b9 100644
--- a/databases/libodbc++/Makefile
+++ b/databases/libodbc++/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libodbc++
PORTVERSION= 0.2.3
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= databases devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= libodbcxx
@@ -21,6 +21,8 @@ USE_GNOME= pkgconfig
INSTALLS_SHLIB= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-isqlxx
+CONFIGURE_ENV= LIBS="${PTHREAD_LIBS}"
+CXXFLAGS+= ${PTHREAD_CFLAGS}
# libodbc++ needs an ODBC driver manager to be installed, and it supports
# both iODBC and unixODBC.
@@ -30,7 +32,7 @@ IGNORE= selected mutually exclusive options: WITH_IODBC and WITH_UNIXODBC
.endif
.if !defined(WITH_IODBC) && !defined(WITH_UNIXODBC)
-WITH_IODBC?= yes
+WITH_UNIXODBC?= yes
.endif
.if defined(WITH_IODBC)
@@ -39,8 +41,6 @@ CONFIGURE_ARGS+= --with-iodbc=${LOCALBASE}
.elif defined(WITH_UNIXODBC)
LIB_DEPENDS= odbc.1:${PORTSDIR}/databases/unixODBC
CONFIGURE_ARGS+= --with-odbc=${LOCALBASE}
-CONFIGURE_ENV= LIBS="${PTHREAD_LIBS}"
-CXXFLAGS+= ${PTHREAD_CFLAGS}
.endif
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}