- update to 0.9.8 .

help & ok alek@
This commit is contained in:
aanriot 2006-07-01 10:44:22 +00:00
parent 7506aa87e3
commit 4ddeab9177
4 changed files with 45 additions and 15 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/06/26 18:04:26 aanriot Exp $
# $OpenBSD: Makefile,v 1.2 2006/07/01 10:44:22 aanriot Exp $
COMMENT= "Prelude framework database-access library"
COMMENT-pgsql= "PostgreSQL module for libpreludedb"
COMMENT-mysql= "MySQL module for libpreludedb"
COMMENT-sqlite= "SQLite3 module for libpreludedb"
VERSION= 0.9.7.1
VERSION= 0.9.8
DISTNAME= libpreludedb-${VERSION}
PKGNAME= prelude-${DISTNAME}
@ -15,7 +15,7 @@ PKGNAME-sqlite= prelude-libpreludedb-sqlite-${VERSION}
MODULES= lang/python devel/gettext
SHARED_LIBS= preludedb 3.1
SHARED_LIBS= preludedb 3.2
WANTLIB= z
@ -40,9 +40,9 @@ MULTI_PACKAGES+=-mysql
LIB_DEPENDS+= lib/mysql/mysqlclient.16::databases/mysql
WANTLIB+= m ssl crypto
. endif
CONFIGURE_ARGS+=--enable-mysql
CONFIGURE_ARGS+=--with-mysql
.else
CONFIGURE_ARGS+=--disable-mysql
CONFIGURE_ARGS+=--without-mysql
.endif
.if empty(FLAVOR:L:Mno_pgsql)
@ -50,17 +50,19 @@ MULTI_PACKAGES+=-pgsql
. if !defined(PACKAGING) || ${SUBPACKAGE} == "-pgsql"
LIB_DEPENDS+= pq.4::databases/postgresql
. endif
CONFIGURE_ARGS+=--enable-pgsql
CONFIGURE_ARGS+=--with-pgsql
.else
CONFIGURE_ARGS+=--disable-pgsql
CONFIGURE_ARGS+=--without-pgsql
.endif
.if empty(FLAVOR:L:Mno_sqlite)
MULTI_PACKAGES+=-sqlite
BUILD_DEPENDS+= :sqlite3-*:databases/sqlite3
CONFIGURE_ARGS+=--enable-sqlite3
. if !defined(PACKAGING) || ${SUBPACKAGE} == "-sqlite"
LIB_DEPENDS+= sqlite3.8::databases/sqlite3
. endif
CONFIGURE_ARGS+=--with-sqlite3
.else
CONFIGURE_ARGS+=--disable-sqlite3
CONFIGURE_ARGS+=--without-sqlite3
.endif
.if defined(PACKAGING)

View File

@ -1,4 +1,4 @@
MD5 (libpreludedb-0.9.7.1.tar.gz) = 7137575a3c907348296a386206ecc941
RMD160 (libpreludedb-0.9.7.1.tar.gz) = fcb728d19d4364534583cb68c2859ad92cf8bd04
SHA1 (libpreludedb-0.9.7.1.tar.gz) = 45033ccf4777284a4de5a7ead6a972242e18c094
SIZE (libpreludedb-0.9.7.1.tar.gz) = 716862
MD5 (libpreludedb-0.9.8.tar.gz) = a9bd45d4d578d1fe8b8865ba066781db
RMD160 (libpreludedb-0.9.8.tar.gz) = a4b81aa9a067e7c9f9501c948b6993c51e8dbac2
SHA1 (libpreludedb-0.9.8.tar.gz) = e78a07712b1e525d80a1b9ce2ce205de10c9c196
SIZE (libpreludedb-0.9.8.tar.gz) = 719497

View File

@ -0,0 +1,25 @@
$OpenBSD: patch-configure,v 1.1 2006/07/01 10:44:22 aanriot Exp $
--- configure.orig Fri Jun 30 10:18:17 2006
+++ configure Fri Jun 30 10:19:22 2006
@@ -27466,9 +27466,9 @@ if test x$with_sqlite3 != xno; then
with_sqlite3=no
for dir in $default_path; do
- as_ac_File=`echo "ac_cv_file_$dir/lib/libsqlite3.so" | $as_tr_sh`
-echo "$as_me:$LINENO: checking for $dir/lib/libsqlite3.so" >&5
-echo $ECHO_N "checking for $dir/lib/libsqlite3.so... $ECHO_C" >&6
+ as_ac_File=`echo "ac_cv_file_$dir/include/sqlite3.h" | $as_tr_sh`
+echo "$as_me:$LINENO: checking for $dir/include/sqlite3.h" >&5
+echo $ECHO_N "checking for $dir/include/sqlite3.h... $ECHO_C" >&6
if eval "test \"\${$as_ac_File+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
@@ -27476,7 +27476,7 @@ else
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
{ (exit 1); exit 1; }; }
-if test -r "$dir/lib/libsqlite3.so"; then
+if test -r "$dir/include/sqlite3.h"; then
eval "$as_ac_File=yes"
else
eval "$as_ac_File=no"

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/06/26 18:04:26 aanriot Exp $
@comment $OpenBSD: PLIST,v 1.2 2006/07/01 10:44:22 aanriot Exp $
bin/libpreludedb-config
bin/preludedb-admin
include/libpreludedb/
@ -53,6 +53,7 @@ share/libpreludedb/classic/mysql-update-14-1.sql
share/libpreludedb/classic/mysql-update-14-2.sql
share/libpreludedb/classic/mysql-update-14-3.sql
share/libpreludedb/classic/mysql-update-14-4.sql
share/libpreludedb/classic/mysql-update-14-5.sql
share/libpreludedb/classic/mysql.sql
share/libpreludedb/classic/mysql2pgsql.sh
share/libpreludedb/classic/mysql2sqlite.sh
@ -60,6 +61,8 @@ share/libpreludedb/classic/pgsql-update-14-1.sql
share/libpreludedb/classic/pgsql-update-14-2.sql
share/libpreludedb/classic/pgsql-update-14-3.sql
share/libpreludedb/classic/pgsql-update-14-4.sql
share/libpreludedb/classic/pgsql-update-14-5.sql
share/libpreludedb/classic/pgsql.sql
share/libpreludedb/classic/sqlite-update-14-4.sql
share/libpreludedb/classic/sqlite-update-14-5.sql
share/libpreludedb/classic/sqlite.sql