1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/databases/gdbm/Makefile
Alexey Dokuchaev 936a36e30d Update `databases/gdbm' to version 1.18.1, an important bugfix release
which restores compatibility with old databases (version 1.8) and some
later versions which were built without mmap(2) support.  Due to shlib
version change, bump port revisions of the consumer ports.

PR:		233059
Exp-run by:	antoine
Approved by:	maintainer (johans, numerous timeouts)
2018-11-11 15:38:50 +00:00

38 lines
777 B
Makefile

# Created by: Brent J. Nordquist <bjn@visi.com>
# $FreeBSD$
PORTNAME= gdbm
PORTVERSION= 1.18.1
CATEGORIES= databases
MASTER_SITES= GNU
MAINTAINER= johans@FreeBSD.org
COMMENT= GNU database manager
LICENSE= GPLv3+
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
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:
@${REINPLACE_CMD} -e "s|LIBS = @LIBS@ -lc|LIBS = @LIBS@|" \
-e "s|BINOWN = bin|BINOWN = root|" \
-e "s|BINGRP = bin|BINGRP = wheel|" \
-e "s|libgdbm.la libgdbm_compat.la|& gdbm.info|" \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>