openbsd-ports/databases/dbic++/patches/patch-build_sh
2011-03-14 18:30:33 +00:00

18 lines
476 B
Plaintext

$OpenBSD: patch-build_sh,v 1.2 2011/03/14 18:30:33 jeremy Exp $
--- build.sh.orig Wed Jan 12 18:27:58 2011
+++ build.sh Tue Jan 18 15:46:51 2011
@@ -88,12 +88,10 @@ _uninstall() {
}
_install() {
- _uninstall
cmake -DCMAKE_PG_VERSION=$PG_VERSION \
-DCMAKE_MYSQL_VERSION=$MYSQL_VERSION \
-DCMAKE_SQLITE3_VERSION=$SQLITE3_VERSION \
- -DCMAKE_INSTALL_PREFIX:PATH=/usr
- make
+ -DCMAKE_INSTALL_PREFIX:PATH=${LOCALBASE}
make install
}