openbsd-ports/databases/dbic++/patches/patch-build_sh
jeremy 03f960d5d6 Import dbic++ 0.4.1, dependency of ruby-swift
dbic++ is a database client library written in C++ which comes with
support for PostgreSQL and MySQL. It's main features are:
* Simple API to maximize cross database support.
* Supports nested transactions.
* Auto reconnect, re-prepare & execute statements again unless inside
  a transaction.
* Provides APIs for async queries and a simple reactor API built on
  libevent.
2010-12-20 17:39:55 +00:00

18 lines
472 B
Plaintext

$OpenBSD: patch-build_sh,v 1.1.1.1 2010/12/20 17:39:55 jeremy Exp $
--- build.sh.orig Sun Oct 17 08:56:31 2010
+++ build.sh Thu Oct 28 16:39:16 2010
@@ -88,12 +88,10 @@ _uninstall() {
}
_install() {
- _uninstall
cmake -DCMAKE_PG_VERSION=$PG_VERSION \
-DCMAKE_MYSQL_VERSION=$MYSQL_VERSION \
-DCMAKE_DB2_VERSION=$DB2_VERSION \
- -DCMAKE_INSTALL_PREFIX:PATH=/usr
- make
+ -DCMAKE_INSTALL_PREFIX:PATH=${LOCALBASE}
make install
}