aboutsummaryrefslogtreecommitdiff
path: root/databases/gdbm
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2021-01-12 08:59:56 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2021-01-12 08:59:56 +0000
commitbcb4400082b2961f94e299511fcc9c973bdb3290 (patch)
treec226d620e855ee482c8bafe7aeda85faca18b866 /databases/gdbm
parentf191283924cba02da3438b57985738aee94ba68d (diff)
downloadports-bcb4400082b2961f94e299511fcc9c973bdb3290.tar.gz
ports-bcb4400082b2961f94e299511fcc9c973bdb3290.zip
- Update GNU dbm to version 1.19
- Enable parallel builds by using GNU make - Hook the test suite to our framework - Visually separate the option blocks
Notes
Notes: svn path=/head/; revision=561304
Diffstat (limited to 'databases/gdbm')
-rw-r--r--databases/gdbm/Makefile15
-rw-r--r--databases/gdbm/distinfo6
-rw-r--r--databases/gdbm/pkg-plist1
3 files changed, 9 insertions, 13 deletions
diff --git a/databases/gdbm/Makefile b/databases/gdbm/Makefile
index d1aefc707352..3b673ccbf8db 100644
--- a/databases/gdbm/Makefile
+++ b/databases/gdbm/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= gdbm
-PORTVERSION= 1.18.1
-PORTREVISION= 1
+PORTVERSION= 1.19
CATEGORIES= databases
MASTER_SITES= GNU
@@ -12,25 +11,21 @@ COMMENT= GNU database manager
LICENSE= GPLv3+
+USES= gmake libtool:keepla readline
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
+TEST_TARGET= check
USE_LDCONFIG= yes
-USES= libtool:keepla readline
-
-MAKE_JOBS_UNSAFE= yes
INFO= gdbm
OPTIONS_DEFINE= COMPAT NLS
OPTIONS_SUB= yes
+
COMPAT_DESC= Enable dbm/ndbm compatibility
COMPAT_CONFIGURE_ENABLE= libgdbm-compat
+
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
-post-patch:
-# Fix the build with -fno-common (clang 11 and gcc 10)
- @${REINPLACE_CMD} -e '/^char \*parseopt_program_[ad]/d' \
- ${WRKSRC}/src/parseopt.c
-
.include <bsd.port.mk>
diff --git a/databases/gdbm/distinfo b/databases/gdbm/distinfo
index a8b8bf57e96e..13d912309c7f 100644
--- a/databases/gdbm/distinfo
+++ b/databases/gdbm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1540621017
-SHA256 (gdbm-1.18.1.tar.gz) = 86e613527e5dba544e73208f42b78b7c022d4fa5a6d5498bf18c8d6f745b91dc
-SIZE (gdbm-1.18.1.tar.gz) = 941863
+TIMESTAMP = 1608727671
+SHA256 (gdbm-1.19.tar.gz) = 37ed12214122b972e18a0d94995039e57748191939ef74115b1d41d8811364bc
+SIZE (gdbm-1.19.tar.gz) = 967861
diff --git a/databases/gdbm/pkg-plist b/databases/gdbm/pkg-plist
index 8c0608b64240..58215a01feea 100644
--- a/databases/gdbm/pkg-plist
+++ b/databases/gdbm/pkg-plist
@@ -27,6 +27,7 @@ man/man3/gdbm.3.gz
%%NLS%%share/locale/ja/LC_MESSAGES/gdbm.mo
%%NLS%%share/locale/pl/LC_MESSAGES/gdbm.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/gdbm.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/gdbm.mo
%%NLS%%share/locale/sr/LC_MESSAGES/gdbm.mo
%%NLS%%share/locale/sv/LC_MESSAGES/gdbm.mo
%%NLS%%share/locale/uk/LC_MESSAGES/gdbm.mo