openbsd-ports/databases/dbic++/patches/patch-build
jeremy e2ae866641 Update to dbic++ 0.6.0. Minor Makefile cleanup so that
WRKDIST doesn't need to change.  Remove getline->fgenln
patch now that getline is natively supported.
2012-04-06 19:25:23 +00:00

18 lines
467 B
Plaintext

$OpenBSD: patch-build,v 1.1 2012/04/06 19:25:23 jeremy Exp $
--- build.orig Wed Jan 12 18:27:58 2011
+++ build 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
}