ports/132468: Update port: databases/libzdb to 2.4

KATO Tsuguru tkato432 at yahoo.com
Mon Mar 9 17:10:09 UTC 2009


>Number:         132468
>Category:       ports
>Synopsis:       Update port: databases/libzdb to 2.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 09 17:10:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.1-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 2.4

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/databases/libzdb/Makefile databases/libzdb/Makefile
--- /usr/ports/databases/libzdb/Makefile	2009-01-16 09:29:40.000000000 +0900
+++ databases/libzdb/Makefile	2009-03-08 15:19:35.000000000 +0900
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	libzdb
-PORTVERSION=	2.3
+PORTVERSION=	2.4
 CATEGORIES=	databases
 MASTER_SITES=	http://www.tildeslash.com/libzdb/dist/
 
@@ -14,48 +14,39 @@
 COMMENT=	Thread-safe connection pool library
 
 OPTIONS=	MYSQL "Add MySQL support" on \
-		SQLITE " Add Sqlite support" on \
+		SQLITE "Add Sqlite support" on \
 		PGSQL "Add PgSQL support" on
 
+USE_GNOME=	gnomehack
 USE_GMAKE=	yes
 USE_AUTOTOOLS=	libtool:15
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LDFLAGS="-L${LOCALBASE}/lib" \
-		PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
-		PTHREAD_LIBS="${PTHREAD_LIBS}"
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 USE_LDCONFIG=	yes
 
-PLIST_SUB=	VERSION=${PORTVERSION}
+CPPFLAGS=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
 
 .include <bsd.port.pre.mk>
 
 .if defined(WITH_MYSQL)
 USE_MYSQL=	yes
-CONFIGURE_ARGS+=	--with-mysql=${PREFIX}
+CONFIGURE_ARGS+=	--with-mysql=${LOCALBASE}/bin/mysql_config
 .else
 CONFIGURE_ARGS+=	--without-mysql
 .endif
 
 .if defined(WITH_SQLITE)
 USE_SQLITE=	3
-CONFIGURE_ARGS+=	--with-sqlite=${PREFIX}
+CONFIGURE_ARGS+=	--with-sqlite=${LOCALBASE}
 .else
 CONFIGURE_ARGS+=	--without-sqlite
 .endif
 
 .if defined(WITH_PGSQL)
 USE_PGSQL=	yes
-CONFIGURE_ARGS+=	--with-pgsql=${PREFIX}
+CONFIGURE_ARGS+=	--with-pgsql=${LOCALBASE}/bin/pg_config
 .else
 CONFIGURE_ARGS+=	--without-pgsql
 .endif
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|-lpthread |${PTHREAD_LIBS} |g ; \
-		 s|_mysql/lib |_mysql/lib/mysql |g ; \
-		 s|_mysql/include |_mysql/include/mysql |g ; \
-		 s|_mysql/include"|_mysql/include/mysql"|g ; \
-		 s|_mysql/lib/l|_mysql/lib/mysql/l|g ; \
-		 s|_mysql/lib/ |_mysql/lib/mysql |g' ${WRKSRC}/configure
-
 .include <bsd.port.post.mk>
diff -urN /usr/ports/databases/libzdb/distinfo databases/libzdb/distinfo
--- /usr/ports/databases/libzdb/distinfo	2009-01-16 09:29:40.000000000 +0900
+++ databases/libzdb/distinfo	2009-02-26 01:39:21.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (libzdb-2.3.tar.gz) = 62e16369e268e9280978d36343207e60
-SHA256 (libzdb-2.3.tar.gz) = f9b63c4f78c23d6dc44ba20dc3abdccfb61319138100864a3ad3f2848f0ecdaf
-SIZE (libzdb-2.3.tar.gz) = 605014
+MD5 (libzdb-2.4.tar.gz) = b4c4ba0090881d4714f7f3e56d6eadbd
+SHA256 (libzdb-2.4.tar.gz) = 4536130adffa907924167a7b2b3b026eb1ec63456e26c6987ca6b4d7adbb80fa
+SIZE (libzdb-2.4.tar.gz) = 608663
diff -urN /usr/ports/databases/libzdb/pkg-plist databases/libzdb/pkg-plist
--- /usr/ports/databases/libzdb/pkg-plist	2009-01-16 09:29:40.000000000 +0900
+++ databases/libzdb/pkg-plist	2009-02-26 02:33:03.000000000 +0900
@@ -1,12 +1,12 @@
-include/Connection.h
-include/ConnectionPool.h
-include/Exception.h
-include/PreparedStatement.h
-include/ResultSet.h
-include/SQLException.h
-include/URL.h
+include/zdb/Connection.h
+include/zdb/ConnectionPool.h
+include/zdb/Exception.h
+include/zdb/PreparedStatement.h
+include/zdb/ResultSet.h
+include/zdb/SQLException.h
+include/zdb/URL.h
 lib/libzdb.a
 lib/libzdb.la
 lib/libzdb.so
-lib/libzdb-%%VERSION%%.so
-lib/libzdb-%%VERSION%%.so.6
+lib/libzdb.so.6
+ at dirrm include/zdb
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list