summaryrefslogtreecommitdiff
path: root/databases/poco-data-odbc
diff options
context:
space:
mode:
Diffstat (limited to 'databases/poco-data-odbc')
-rw-r--r--databases/poco-data-odbc/Makefile12
-rw-r--r--databases/poco-data-odbc/PLIST15
2 files changed, 11 insertions, 16 deletions
diff --git a/databases/poco-data-odbc/Makefile b/databases/poco-data-odbc/Makefile
index 192188069dd..b99318be7d6 100644
--- a/databases/poco-data-odbc/Makefile
+++ b/databases/poco-data-odbc/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2015/04/26 11:52:18 ryoon Exp $
+# $NetBSD: Makefile,v 1.10 2016/01/16 12:15:12 ryoon Exp $
#
PKGNAME= poco-data-odbc-${POCO_VERSION}
-PKGREVISION= 3
CATEGORIES= databases
COMMENT= POCO C++ ODBC RDBMS Accessor libraries
@@ -14,6 +13,8 @@ CONFIGURE_ARGS+= --omit=Data/MySQL,Data/SQLite,Zip,XML
CONFIGURE_ARGS+= --omit=Foundation,Net,NetSSL_OpenSSL
CONFIGURE_ARGS+= --no-tests
CONFIGURE_ARGS+= --no-samples
+CONFIGURE_ARGS+= --odbc-lib=${BUILDLINK_PREFIX.unixodbc}/lib
+CONFIGURE_ARGS+= --odbc-include=${BUILDLINK_PREFIX.unixodbc}/include
USE_TOOLS+= pax
@@ -29,13 +30,6 @@ do-install:
cd ${WRKSRC}/Data/ODBC && \
${PAX} -rw -v -pp include ${DESTDIR}${PREFIX}
-SUBST_CLASSES+= paths
-SUBST_MESSAGE.paths= pkgsrc-izing paths
-SUBST_STAGE.paths= post-patch
-SUBST_FILES.paths= Data/ODBC/Makefile
-SUBST_SED.paths= -e 's,@ODBCLIBDIR@,${BUILDLINK_DIR}/${BUILDLINK_LIBDIRS.unixodbc},g'
-SUBST_SED.paths+= -e 's,@ODBCINCDIR@,${BUILDLINK_DIR}/${BUILDLINK_INCDIRS.unixodbc},g'
-
# should make which odbc we use an option.. but.. :D
.include "../../databases/unixodbc/buildlink3.mk"
.include "../../databases/poco-data/buildlink3.mk"
diff --git a/databases/poco-data-odbc/PLIST b/databases/poco-data-odbc/PLIST
index df234d00418..de5bf340a2f 100644
--- a/databases/poco-data-odbc/PLIST
+++ b/databases/poco-data-odbc/PLIST
@@ -1,22 +1,23 @@
-@comment $NetBSD: PLIST,v 1.2 2011/10/17 02:10:31 schnoebe Exp $
+@comment $NetBSD: PLIST,v 1.3 2016/01/16 12:15:12 ryoon Exp $
include/Poco/Data/ODBC/Binder.h
include/Poco/Data/ODBC/ConnectionHandle.h
include/Poco/Data/ODBC/Connector.h
-include/Poco/Data/ODBC/DataTypes.h
include/Poco/Data/ODBC/Diagnostics.h
include/Poco/Data/ODBC/EnvironmentHandle.h
include/Poco/Data/ODBC/Error.h
include/Poco/Data/ODBC/Extractor.h
include/Poco/Data/ODBC/Handle.h
include/Poco/Data/ODBC/ODBC.h
-include/Poco/Data/ODBC/ODBCColumn.h
include/Poco/Data/ODBC/ODBCException.h
+include/Poco/Data/ODBC/ODBCMetaColumn.h
include/Poco/Data/ODBC/ODBCStatementImpl.h
include/Poco/Data/ODBC/Parameter.h
-include/Poco/Data/ODBC/Preparation.h
+include/Poco/Data/ODBC/Preparator.h
include/Poco/Data/ODBC/SessionImpl.h
+include/Poco/Data/ODBC/TypeInfo.h
+include/Poco/Data/ODBC/Unicode.h
+include/Poco/Data/ODBC/Unicode_UNIXODBC.h
+include/Poco/Data/ODBC/Unicode_WIN32.h
include/Poco/Data/ODBC/Utility.h
lib/libPocoDataODBC.so
-lib/libPocoDataODBC.so.11
-lib/libPocoDataODBCd.so
-lib/libPocoDataODBCd.so.11
+lib/libPocoDataODBC.so.31