---------------------------------- pkg-config 0.29.2 ================= - Improved pkg-config's recursive package list expansion performance. Thanks to Matthew Hanna for the fix. - Handle an empty prefix setting correctly when --define-prefix is used. (#97453) - Lazily load pc files instead of reading all available pc files during initialization. Thanks to Marco Diego Aurélio Mesquita for the fix. (#98215) - Check the CPATH environment variable when determining system include paths like GCC does. Document the system search path behavior. Thanks to v4hn for the fix. (#99224) - Make PKG_CHECK_MODULES show the module list rather than the variable prefix in configure output. Thanks to Russ Albery for the fix. (#98334) - Fix bundled glib build with GCC 6. (#98334) - Handle -isystem and -idirafter when PKG_CONFIG_SYSROOT_DIR is set. (#97337) - Check the INCLUDE environment variable when determining system include paths on Windows builds when --msvc-syntax is used. (#94729)
69 lines
1.9 KiB
Makefile
69 lines
1.9 KiB
Makefile
# $NetBSD: Makefile,v 1.37 2017/05/05 01:19:35 mef Exp $
|
|
|
|
DISTNAME= pkg-config-0.29.2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://pkgconfig.freedesktop.org/releases/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://pkgconfig.freedesktop.org/
|
|
COMMENT= System for managing library compile/link flags
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-internal-glib
|
|
CONFIGURE_ARGS+= --disable-host-tool
|
|
CONFIGURE_ARGS+= --disable-maintainer-mode
|
|
|
|
# old name of the package
|
|
CONFLICTS= pkgconfig-[0-9]*
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
# configure bails out in subdir after re-parsing the cache
|
|
CONFIGURE_ARGS.IRIX+= --cache-file=/dev/null
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
.if ${MACHINE_ARCH} == "i386" && !empty(OS_VERSION:M[12345].*)
|
|
# Built-in GLib wants __sync_bool_compare_and_swap_4
|
|
CFLAGS+= -march=i486
|
|
.endif
|
|
post-configure:
|
|
cd ${WRKSRC}/glib; \
|
|
${GREP} -v HAVE_DTRACE config.h >config.h.new; \
|
|
${MV} config.h.new config.h
|
|
.endif
|
|
|
|
.if ${OS_VARIANT} == "SCOOSR5"
|
|
# SCO OpenServer 5.0.7/3.2 has no IPv6 support.
|
|
CONFIGURE_ENV+= glib_cv_value_AF_INET6=yes
|
|
.endif
|
|
|
|
CONFIGURE_ARGS.SunOS+= --disable-dtrace
|
|
CFLAGS.SunOS+= -DENABLE_NLS # required due to __EXTENSIONS__
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_ARGS.${ICONV_TYPE}-iconv}
|
|
CONFIGURE_ARGS.gnu-iconv= --with-libiconv=gnu
|
|
|
|
PKGCONFIG_EXTRA_PATHS= # empty
|
|
|
|
.if ${LOCALBASE} != ${X11BASE}
|
|
PKGCONFIG_EXTRA_PATHS+= ${X11BASE}/lib/pkgconfig
|
|
.endif
|
|
|
|
.if ${LOCALBASE} != "/usr"
|
|
PKGCONFIG_EXTRA_PATHS+= /usr/lib/pkgconfig
|
|
.endif
|
|
|
|
.if !empty(PKGCONFIG_EXTRA_PATHS)
|
|
# First part of the value is taken from configure.in
|
|
CONFIGURE_ARGS+= --with-pc-path='$${libdir}/pkgconfig:$${datadir}/pkgconfig:${PKGCONFIG_EXTRA_PATHS:ts::Q}'
|
|
.endif
|
|
|
|
# needed for fifth test case
|
|
BUILDLINK_PASSTHRU_DIRS+= /private-dep /public-dep /requires-test
|
|
TEST_TARGET= check
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|