summaryrefslogtreecommitdiff
path: root/devel/pkgconfig
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-08-25 19:21:43 +0000
committerjlam <jlam@pkgsrc.org>2002-08-25 19:21:43 +0000
commitefb93b17bd48d49105d00f52887445a53f7cd60b (patch)
treec69c41be2f3b44bedceeee7e348c2ae58c476c6a /devel/pkgconfig
parent653dc760d3901b3c7e67803c589352e8353a5030 (diff)
downloadpkgsrc-efb93b17bd48d49105d00f52887445a53f7cd60b.tar.gz
Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
Diffstat (limited to 'devel/pkgconfig')
-rw-r--r--devel/pkgconfig/PLIST2
-rw-r--r--devel/pkgconfig/buildlink2.mk15
2 files changed, 16 insertions, 1 deletions
diff --git a/devel/pkgconfig/PLIST b/devel/pkgconfig/PLIST
index d61d0763bd6..ff3e57c2c0e 100644
--- a/devel/pkgconfig/PLIST
+++ b/devel/pkgconfig/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2002/06/26 10:29:39 seb Exp $
+@comment $NetBSD: PLIST,v 1.5 2002/08/25 19:22:37 jlam Exp $
bin/pkg-config
man/man1/pkg-config.1
share/aclocal/pkg.m4
diff --git a/devel/pkgconfig/buildlink2.mk b/devel/pkgconfig/buildlink2.mk
new file mode 100644
index 00000000000..945a25da049
--- /dev/null
+++ b/devel/pkgconfig/buildlink2.mk
@@ -0,0 +1,15 @@
+# $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