f8e030f858
A pkg-config implementation by Ruby.
16 lines
492 B
Makefile
16 lines
492 B
Makefile
# $NetBSD: tool.mk,v 1.1.1.1 2010/09/23 15:24:28 obache Exp $
|
|
|
|
.if !defined(RUBY_PKG_CONFIG_TOOL_MK)
|
|
|
|
_PKG_CONFIG_LIBDIR?= ${BUILDLINK_DIR}/lib/pkgconfig:${BUILDLINK_DIR}/share/pkgconfig
|
|
|
|
CONFIGURE_ENV+= PKG_CONFIG_LIBDIR=${_PKG_CONFIG_LIBDIR:Q}
|
|
CONFIGURE_ENV+= PKG_CONFIG_PATH=
|
|
MAKE_ENV+= PKG_CONFIG_LIBDIR=${_PKG_CONFIG_LIBDIR:Q}
|
|
MAKE_ENV+= PKG_CONFIG_PATH=
|
|
|
|
.include "../../lang/ruby/rubyversion.mk"
|
|
|
|
BUILD_DEPENDS+= ${RUBY_PKGPREFIX}-pkg-config-[0-9]*:../../devel/ruby-pkg-config
|
|
|
|
.endif
|