- Update to 2.4

PR:		132468
Submitted by:	Ports Fury
This commit is contained in:
Martin Wilke 2009-03-14 14:10:20 +00:00
parent b198cfa26a
commit 9a12f1b3ee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=230060
3 changed files with 21 additions and 30 deletions

View file

@ -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 @@ MAINTAINER= ports@FreeBSD.org
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>

View file

@ -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

View file

@ -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
@dirrm include/zdb