aboutsummaryrefslogtreecommitdiff
path: root/databases/gdbm/Makefile
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2011-09-12 13:20:47 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2011-09-12 13:20:47 +0000
commitc6beb9cdcd0b88fbda4b01503b7adc4f82eedbf1 (patch)
tree50aed00b2581d5aeea0baf6c390033aff6fe450b /databases/gdbm/Makefile
parent7892b43f154e339d2e8dd6dd2dd4995f7034afa6 (diff)
- Update to 1.9.1
- Add OPTIONS for dbm/ndbm compatibility PR: ports/160250 Submitted by: sunpoet
Notes
Notes: svn path=/head/; revision=281667
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}