summaryrefslogtreecommitdiff
path: root/x11/kdelibs3/buildlink2.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-10-10 00:11:49 +0000
committerjlam <jlam@pkgsrc.org>2002-10-10 00:11:49 +0000
commitb3b59d27663ba978311d12c92015a96e64453a3a (patch)
tree5201e021d1ab7b2611b1373365e7d50cd850caa5 /x11/kdelibs3/buildlink2.mk
parent6a514432f71f022397bde0addb664067da7cd70c (diff)
downloadpkgsrc-b3b59d27663ba978311d12c92015a96e64453a3a.tar.gz
Use BUILDLINK_PLIST_CMD instead of grepping the PLISTs so that we use the
file list from the installed package, not the file list from the pkgsrc PLIST, which may be for a new version than the installed package.
Diffstat (limited to 'x11/kdelibs3/buildlink2.mk')
-rw-r--r--x11/kdelibs3/buildlink2.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/x11/kdelibs3/buildlink2.mk b/x11/kdelibs3/buildlink2.mk
index 6f4605b61a5..0e1b284773f 100644
--- a/x11/kdelibs3/buildlink2.mk
+++ b/x11/kdelibs3/buildlink2.mk
@@ -1,9 +1,10 @@
-# $NetBSD: buildlink2.mk,v 1.3 2002/09/10 16:06:55 wiz Exp $
+# $NetBSD: buildlink2.mk,v 1.4 2002/10/10 00:11:51 jlam Exp $
.if !defined(KDELIBS3_BUILDLINK2_MK)
KDELIBS3_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= kdelibs3
+BUILDLINK_PKGBASE.kdelibs3?= kdelibs
BUILDLINK_DEPENDS.kdelibs3?= kdelibs>=3.0.3nb1
BUILDLINK_PKGSRCDIR.kdelibs3?= ../../x11/kdelibs3
@@ -11,7 +12,9 @@ BUILDLINK_PKGSRCDIR.kdelibs3?= ../../x11/kdelibs3
EVAL_PREFIX+= BUILDLINK_PREFIX.kdelibs3=kdelibs
BUILDLINK_PREFIX.kdelibs3_DEFAULT= ${X11PREFIX}
-BUILDLINK_FILES.kdelibs3!= ${GREP} "^\(include\|lib\)" ${.CURDIR}/../../x11/kdelibs3/PLIST
+_KDELIBS3_BLNK_FILES= \
+ ${BUILDLINK_PLIST_CMD.kdelibs3} | ${GREP} '^\(include\|lib\)'
+BUILDLINK_FILES.kdelibs3= `${_KDELIBS3_BLNK_FILES}`
KDEDIR= ${BUILDLINK_PREFIX.kdelibs3}