aboutsummaryrefslogtreecommitdiff
path: root/databases/gdbm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/gdbm/Makefile')
-rw-r--r--databases/gdbm/Makefile20
1 files changed, 11 insertions, 9 deletions
diff --git a/databases/gdbm/Makefile b/databases/gdbm/Makefile
index 2dfa5f4d6567..e9bc5d9b3176 100644
--- a/databases/gdbm/Makefile
+++ b/databases/gdbm/Makefile
@@ -6,30 +6,32 @@
#
PORTNAME= gdbm
-PORTVERSION= 1.8.3
-PORTREVISION= 3
+PORTVERSION= 1.9.1
CATEGORIES= databases
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= GNU
MAINTAINER= gabor@FreeBSD.org
COMMENT= The GNU database manager
+OPTIONS= COMPAT "dbm/ndbm compatibility" off
+
+GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
USE_GMAKE= yes
-GNU_CONFIGURE= yes
USE_LDCONFIG= yes
+INFO= gdbm
+MAN3= gdbm.3
+
+.include <bsd.port.options.mk>
+
.if defined(WITH_COMPAT)
-INSTALL_TARGET= install install-compat
+CONFIGURE_ARGS+=--enable-libgdbm-compat
PLIST_SUB= GDBM_COMPAT=""
.else
PLIST_SUB= GDBM_COMPAT="@comment "
.endif
-MAN3= gdbm.3
-INFO= gdbm
-
pre-everything::
.if !defined(WITH_COMPAT)
@${ECHO_MSG}