From c5b85a2287bb6c4646152c4524440969094cff9f Mon Sep 17 00:00:00 2001 From: Guido Falsi Date: Tue, 22 Jul 2014 17:51:19 +0000 Subject: [PATCH] - Update to 0.998 - Add USES=libtool and drop .la files - Strip binaries --- databases/sqliteodbc/Makefile | 7 +++++-- databases/sqliteodbc/distinfo | 4 ++-- databases/sqliteodbc/files/patch-configure | 8 ++++---- databases/sqliteodbc/pkg-plist | 21 +++++++-------------- 4 files changed, 18 insertions(+), 22 deletions(-) diff --git a/databases/sqliteodbc/Makefile b/databases/sqliteodbc/Makefile index 5ed8ae558d4f..eae7a12c90e9 100644 --- a/databases/sqliteodbc/Makefile +++ b/databases/sqliteodbc/Makefile @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= sqliteodbc -PORTVERSION= 0.997 -PORTREVISION= 1 +PORTVERSION= 0.998 CATEGORIES= databases MASTER_SITES= http://www.ch-werner.de/sqliteodbc/ @@ -19,6 +18,7 @@ LIB_DEPENDS= libodbc.so:${PORTSDIR}/databases/unixODBC GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-sqlite4 USE_LDCONFIG= yes +USES= libtool OPTIONS_DEFINE= SQLITE SQLITE3 OPTIONS_DEFAULT= SQLITE3 @@ -32,4 +32,7 @@ SQLITE3_LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3 \ SQLITE3_CONFIGURE_ON= --with-sqlite3=${LOCALBASE} SQLITE3_CONFIGURE_OFF= --with-sqlite3=/tmp +post-build: + @${STRIP_CMD} ${WRKSRC}/.libs/libsqlite3*${PORTVERSION}.so + .include diff --git a/databases/sqliteodbc/distinfo b/databases/sqliteodbc/distinfo index 88d012700031..60de43de6e41 100644 --- a/databases/sqliteodbc/distinfo +++ b/databases/sqliteodbc/distinfo @@ -1,2 +1,2 @@ -SHA256 (sqliteodbc-0.997.tar.gz) = ff8456163b560e2365ad9c8400258665e64823914f001cb71a1c73477d19a596 -SIZE (sqliteodbc-0.997.tar.gz) = 831436 +SHA256 (sqliteodbc-0.998.tar.gz) = f78858be41627059356b2254999168ab262bd5d88163dd1e8053983883fc0412 +SIZE (sqliteodbc-0.998.tar.gz) = 809936 diff --git a/databases/sqliteodbc/files/patch-configure b/databases/sqliteodbc/files/patch-configure index a9e5069edb18..8d118f087f5a 100644 --- a/databases/sqliteodbc/files/patch-configure +++ b/databases/sqliteodbc/files/patch-configure @@ -1,6 +1,6 @@ ---- configure.orig 2013-08-27 13:34:44.000000000 +0200 -+++ configure 2014-03-26 23:49:03.494985827 +0100 -@@ -18043,7 +18043,7 @@ +--- configure.orig 2014-07-21 08:27:18.000000000 +0200 ++++ configure 2014-07-22 19:36:19.714479471 +0200 +@@ -10531,7 +10531,7 @@ SQLITE_LIBDIR="$i/lib" break elif test -d "$i/lib" ; then @@ -9,7 +9,7 @@ SQLITE_LIBDIR="$i/lib" break fi -@@ -18564,7 +18564,7 @@ +@@ -11058,7 +11058,7 @@ SQLITE3_LIBDIR="$i/lib" break elif test -d "$i/lib" ; then diff --git a/databases/sqliteodbc/pkg-plist b/databases/sqliteodbc/pkg-plist index 45733f8b7165..788c5d60977f 100644 --- a/databases/sqliteodbc/pkg-plist +++ b/databases/sqliteodbc/pkg-plist @@ -1,28 +1,21 @@ -%%SQLITE3%%lib/libsqlite3_mod_blobtoxy-0.997.so +%%SQLITE3%%lib/libsqlite3_mod_blobtoxy-0.998.so %%SQLITE3%%lib/libsqlite3_mod_blobtoxy.a -%%SQLITE3%%lib/libsqlite3_mod_blobtoxy.la %%SQLITE3%%lib/libsqlite3_mod_blobtoxy.so -%%SQLITE3%%lib/libsqlite3_mod_csvtable-0.997.so +%%SQLITE3%%lib/libsqlite3_mod_csvtable-0.998.so %%SQLITE3%%lib/libsqlite3_mod_csvtable.a -%%SQLITE3%%lib/libsqlite3_mod_csvtable.la %%SQLITE3%%lib/libsqlite3_mod_csvtable.so -%%SQLITE3%%lib/libsqlite3_mod_impexp-0.997.so +%%SQLITE3%%lib/libsqlite3_mod_impexp-0.998.so %%SQLITE3%%lib/libsqlite3_mod_impexp.a -%%SQLITE3%%lib/libsqlite3_mod_impexp.la %%SQLITE3%%lib/libsqlite3_mod_impexp.so -%%SQLITE3%%lib/libsqlite3_mod_xpath-0.997.so +%%SQLITE3%%lib/libsqlite3_mod_xpath-0.998.so %%SQLITE3%%lib/libsqlite3_mod_xpath.a -%%SQLITE3%%lib/libsqlite3_mod_xpath.la %%SQLITE3%%lib/libsqlite3_mod_xpath.so -%%SQLITE3%%lib/libsqlite3_mod_zipfile-0.997.so +%%SQLITE3%%lib/libsqlite3_mod_zipfile-0.998.so %%SQLITE3%%lib/libsqlite3_mod_zipfile.a -%%SQLITE3%%lib/libsqlite3_mod_zipfile.la %%SQLITE3%%lib/libsqlite3_mod_zipfile.so -%%SQLITE3%%lib/libsqlite3odbc-0.997.so +%%SQLITE3%%lib/libsqlite3odbc-0.998.so %%SQLITE3%%lib/libsqlite3odbc.a -%%SQLITE3%%lib/libsqlite3odbc.la %%SQLITE3%%lib/libsqlite3odbc.so -%%SQLITE%%lib/libsqliteodbc-0.997.so +%%SQLITE%%lib/libsqliteodbc-0.998.so %%SQLITE%%lib/libsqliteodbc.a -%%SQLITE%%lib/libsqliteodbc.la %%SQLITE%%lib/libsqliteodbc.so