bf81c14295
Patch from Juan RP via PR pkg/20236. Changes: 0.15 ==== - add PKG_CONFIG_LIBDIR for cross-compiling (David Schleef) - add --libs-only-other/--cflags-only-other (Zack Rusin) - apply man page fixes (Pter Breitenlohner) - C portability fix (David Robins) - fix to win32 build (Tor Lillqvist)
15 lines
517 B
Makefile
15 lines
517 B
Makefile
# $NetBSD: buildlink2.mk,v 1.4 2003/02/14 21:14:38 salo Exp $
|
|
|
|
.if !defined(PKGCONFIG_BUILDLINK2_MK)
|
|
PKGCONFIG_BUILDLINK2_MK= # defined
|
|
|
|
BUILDLINK_PACKAGES+= pkgconfig
|
|
BUILDLINK_DEPENDS.pkgconfig?= pkgconfig>=0.15.0
|
|
BUILDLINK_PKGSRCDIR.pkgconfig?= ../../devel/pkgconfig
|
|
BUILDLINK_DEPMETHOD.pkgconfig?= build
|
|
|
|
PKG_CONFIG_PATH?= ${LOCALBASE}/lib/pkgconfig:${X11BASE}/lib/pkgconfig
|
|
CONFIGURE_ENV+= PKG_CONFIG_PATH="${PKG_CONFIG_PATH}"
|
|
MAKE_ENV+= PKG_CONFIG_PATH="${PKG_CONFIG_PATH}"
|
|
|
|
.endif # PKGCONFIG_BUILDLINK2_MK
|