pkgsrc/devel/pkgconf/Makefile
wiz d4c3265f9a pkgconf: update to 1.8.0.
Changes from 1.7.4 to 1.8.0:
----------------------------

* This is the last planned maintenance branch.  I see pkgconf as basically
  a finished tool at this point, and very few people were ultimately interested
  in libpkgconf.  So, from here on out, it will just be bug fixes only and
  very minor enhancements.

* Bug fixes:
  - Improved path handling on Windows to conform to what the MSYS2
    and Cygwin teams were already modifying pkgconf to do.
    Patches by Christoph Reiter.
  - Fix a minor memory leak relating to cross-personalities.
    Patch by Stone Tickle.
  - Fix static builds for Windows on Meson.
    Patch by Alexander Neumann.
  - Fix some edge cases with --redefine-prefix.
    Patch by midipix.
  - Do not prepend sysroot_dir if the .pc file does not exist in the
    sysroot.
    Patch by Sandro Mani.
  - Do not perform path filtering on default system include and library
    path lists.  This fixes consistency with other mechanisms that modify
    these path lists.

* Enhancements:
  - Document the --validate option in the manpage.
    Patch by orbea.
2021-08-10 19:40:22 +00:00

39 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.18 2021/08/10 19:40:22 wiz Exp $
DISTNAME= pkgconf-1.8.0
CATEGORIES= devel
MASTER_SITES= https://distfiles.dereferenced.org/pkgconf/
MAINTAINER= nico@orgrim.net
HOMEPAGE= https://github.com/pkgconf/pkgconf
COMMENT= API-driven pkg-config replacement
LICENSE= modified-bsd
CONFLICTS+= pkg-config-[0-9]*
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS= --with-system-libdir=/usr/lib \
--with-system-includedir=/usr/include
MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}/man1
PKGCONFIG_PATHS= ${PREFIX}/lib/pkgconfig
PKGCONFIG_PATHS+= ${PREFIX}/share/pkgconfig
PKGCONFIG_PATHS+= /usr/lib/pkgconfig
.include "../../mk/bsd.prefs.mk"
.if ${LOCALBASE} != ${X11BASE}
PKGCONFIG_PATHS+= ${X11BASE}/lib/pkgconfig
.endif
CONFIGURE_ARGS+= --with-pkg-config-dir=${PKGCONFIG_PATHS:ts::Q}
# configure script incorrectly sets only _FILE_OFFSET_BITS=64
CPPFLAGS.SunOS+= -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
post-install:
${LN} -s pkgconf ${DESTDIR}${PREFIX}/bin/pkg-config
${LN} -s pkgconf.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/pkg-config.1
.include "../../mk/bsd.pkg.mk"