summaryrefslogtreecommitdiff
path: root/databases/opendbx
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2007-01-12 10:02:18 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2007-01-12 10:02:18 +0000
commitb977cce380fcaa1e2c18a706bd1f639d315fa2a9 (patch)
tree587b4d3f1fcca7a7c84ca9673cfa457a4d712104 /databases/opendbx
parent- Update to 1.84 (diff)
- Update to 1.0.3
- Clean up pkg-plist - Some minor Makefile edits PR: ports/107718 Submitted by: maintainer (Ralf van der Enden)
Notes
Notes: svn path=/head/; revision=182172
Diffstat (limited to 'databases/opendbx')
-rw-r--r--databases/opendbx/Makefile19
-rw-r--r--databases/opendbx/distinfo6
-rw-r--r--databases/opendbx/pkg-plist1
3 files changed, 12 insertions, 14 deletions
diff --git a/databases/opendbx/Makefile b/databases/opendbx/Makefile
index c6355b836d7e..f9e8236be867 100644
--- a/databases/opendbx/Makefile
+++ b/databases/opendbx/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= opendbx
-PORTVERSION= 1.0.0
+PORTVERSION= 1.0.3
CATEGORIES= databases
MASTER_SITES= http://www.linuxnetworks.de/opendbx/download/
DISTNAME= ${PORTNAME}-${PORTVERSION}
@@ -16,7 +16,6 @@ COMMENT= A C library for accessing databases with a single API
USE_GMAKE= YES
USE_AUTOTOOLS= libtool:15
-USE_GETTEXT= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@@ -26,21 +25,21 @@ CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= ${PREFIX}/lib/opendbx
-OPTIONS= MYSQL "Support for the MySQL database" off \
- PGSQL "Support for the PostgreSQL database" on \
- SQLITE2 "Support for the SQLite 2 database" off \
- SQLITE "Support for the SQLite 3 database" off
+OPTIONS= MYSQL "Support for the MySQL database" on \
+ PGSQL "Support for the PostgreSQL database" off \
+ SQLITE "Support for the SQLite 2 database" off \
+ SQLITE3 "Support for the SQLite 3 database" off
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
-IGNORE= doesn't build on FreeBSd < 5.x
+IGNORE= doesn't build on FreeBSD < 5.x
#post-patch:
# ${REINPLACE_CMD} 's/stdint.h/inttypes.h/' ${WRKSRC}/lib/odbxlib.h
# ${REINPLACE_CMD} 's/stdint.h/inttypes.h/' ${WRKSRC}/lib/odbx.h
.endif
-.if !defined(WITH_MYSQL) && !defined(WITH_PGSQL) && !defined(WITH_SQLITE2) && !defined(WITH_SQLITE)
+.if !defined(WITH_MYSQL) && !defined(WITH_PGSQL) && !defined(WITH_SQLITE) && !defined(WITH_SQLITE3)
IGNORE= you need to select at least one database
.endif
@@ -62,7 +61,7 @@ PLIST_SUB+= WITHPGSQL=""
PLIST_SUB+= WITHPGSQL="@comment "
.endif
-.if defined(WITH_SQLITE2)
+.if defined(WITH_SQLITE)
USE_SQLITE?= 2
CONFIGURE_MODULES+= "sqlite"
PLIST_SUB+= WITHSQLITE=""
@@ -70,7 +69,7 @@ PLIST_SUB+= WITHSQLITE=""
PLIST_SUB+= WITHSQLITE="@comment "
.endif
-.if defined(WITH_SQLITE)
+.if defined(WITH_SQLITE3)
USE_SQLITE?= 3
CONFIGURE_MODULES+= "sqlite3"
PLIST_SUB+= WITHSQLITE3=""
diff --git a/databases/opendbx/distinfo b/databases/opendbx/distinfo
index 7a4a00d754ba..642d25f7dff5 100644
--- a/databases/opendbx/distinfo
+++ b/databases/opendbx/distinfo
@@ -1,3 +1,3 @@
-MD5 (opendbx-1.0.0.tar.gz) = 7b966fdd58ebe30201d912079ce38980
-SHA256 (opendbx-1.0.0.tar.gz) = 44734717c5ee9eb4f8a72c4354b8855437d299b06f40acf5f10c9e0a3514e90b
-SIZE (opendbx-1.0.0.tar.gz) = 398367
+MD5 (opendbx-1.0.3.tar.gz) = 13bed4226f49139cd31ab1d924182879
+SHA256 (opendbx-1.0.3.tar.gz) = 7c102f24c30518f5cadce4a83acfb1971f946836069f7e396a58de4080820a21
+SIZE (opendbx-1.0.3.tar.gz) = 409985
diff --git a/databases/opendbx/pkg-plist b/databases/opendbx/pkg-plist
index 8af1d9d531a6..70ba053b025c 100644
--- a/databases/opendbx/pkg-plist
+++ b/databases/opendbx/pkg-plist
@@ -1,4 +1,3 @@
-bin/odbxtest
include/odbx.h
lib/libopendbx.a
lib/libopendbx.la