pkgsrc/devel/pkgconfig/buildlink2.mk
jlam efb93b17bd Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
2002-08-25 19:21:43 +00:00

15 lines
516 B
Makefile

# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:22:37 jlam Exp $
.if !defined(PKGCONFIG_BUILDLINK2_MK)
PKGCONFIG_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= pkgconfig
BUILDLINK_DEPENDS.pkgconfig?= pkgconfig-[0-9]*
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