diff options
author | fjoe <fjoe@FreeBSD.org> | 2006-11-12 22:53:27 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2006-11-12 22:53:27 +0800 |
commit | 41ba398b488ef001f41e75b3c6b7378fb47398a1 (patch) | |
tree | 3cf3b9cfbc331708689b3eb85012b69476420ec8 /databases | |
parent | 9336ef2636c412d1bec2a00338e8537553a4da19 (diff) | |
download | freebsd-ports-gnome-41ba398b488ef001f41e75b3c6b7378fb47398a1.tar.gz freebsd-ports-gnome-41ba398b488ef001f41e75b3c6b7378fb47398a1.tar.zst freebsd-ports-gnome-41ba398b488ef001f41e75b3c6b7378fb47398a1.zip |
- Fix the build on RELENG_4 with iodbc.
- Return back default ODBC driver manager to unixODBC.
- Bump PORTREVISION.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/libodbc++/Makefile | 8 |
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} |