pkgsrc/devel/confuse/Makefile
wiz ae63ba2d65 confuse: update to 3.3.
[v3.3][] - 2020-06-25
---------------------

### Changes
* Support building static library on Windows
* Support for `fmemopen()` in Windows UWP applications
* Support for `cfg_getopt(cfg, "sub=name|option")`, i.e., get an option
  from a sub-section, by Peter Rosin
* Support for `CFGF_MODIFIED` flag, to detect changes to settings
  in memory after parsing, by Peter Rosin
* Support for filtering out settings when printing, by Peter Rosin
* Support for dynamic key=value sections with no pre-runtime knowledge
  of setting names, useful for environment variables and similar
* Updated German translation, by Chris Leick

### Fixes
* Fix loop-forever bug found by Christian Reitter; a .conf file
  containing only "=", will cause even the simplest parser to loop
  forever in internal function `cfg_getopt_secidx()`
* Issue #113: Fail to build `strdup()` replacement
* Issue #118: Fix build on Windows, missing `fmemopen()` replacement
* Issue #120: Handle shell and C++ comments with no space separator
* Issue #125: Drop developer debug msg `QSTR: ...`
* Issue #131: Fix `CFG_PTR_CB()` regression, segfaults when, e.g.,
  `cfg_free()` is called.  Found and fixed by Peter Rosin
* Issue #135: Revert `CFGF_RESET` flag if `cfg_setmulti()` family fail
* Issue #137: Memory leak in `cfg_setopt()` for PTR options
2020-08-24 08:18:12 +00:00

31 lines
908 B
Makefile

# $NetBSD: Makefile,v 1.23 2020/08/24 08:18:12 wiz Exp $
DISTNAME= confuse-3.3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=martinh/}
GITHUB_PROJECT= libconfuse
GITHUB_RELEASE= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE= https://github.org/martinh/libconfuse/
COMMENT= Configuration file parser library
LICENSE= isc
BUILD_DEPENDS+= gettext-m4-[0-9]*:../../devel/gettext-m4
BUILD_DEPENDS+= gettext-tools-[0-9]*:../../devel/gettext-tools
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --enable-shared
USE_LIBTOOL= YES
USE_PKGLOCALEDIR= YES
USE_TOOLS+= pkg-config msgfmt autoconf automake flex
PKGCONFIG_OVERRIDE+= libconfuse.pc.in
INSTALLATION_DIRS= lib include
# the included, but generated, lexer.c includes a
# definition of a function which is then not used.
BUILDLINK_TRANSFORM+= rm:-Werror
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"