summaryrefslogtreecommitdiff
path: root/lang/python21
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python21')
-rw-r--r--lang/python21/buildlink2.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/python21/buildlink2.mk b/lang/python21/buildlink2.mk
index 71727e15e54..d3ccb59c269 100644
--- a/lang/python21/buildlink2.mk
+++ b/lang/python21/buildlink2.mk
@@ -1,8 +1,10 @@
-# $NetBSD: buildlink2.mk,v 1.1 2002/09/20 22:33:31 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.2 2002/09/20 22:44:20 jlam Exp $
.if !defined(PYTHON21_BUILDLINK2_MK)
PYTHON21_BUILDLINK2_MK= # defined
+.include "../../mk/bsd.prefs.mk"
+
BUILDLINK_PACKAGES+= python21
BUILDLINK_DEPENDS.python21?= python21>=2.1
BUILDLINK_PKGSRCDIR.python21?= ../../lang/python21
@@ -13,7 +15,8 @@ BUILDLINK_DEPMETHOD.python21?= ${BUILDLINK_DEPMETHOD.python}
EVAL_PREFIX+= BUILDLINK_PREFIX.python21=python21
BUILDLINK_PREFIX.python21_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.python21= include/python2.1/*
+BUILDLINK_FILES.python21!= \
+ ${GREP} "^include/" ${.CURDIR}/${BUILDLINK_PKGSRCDIR.python21}/PLIST
BUILDLINK_FILES.python21+= lib/python2.1/config/libpython2.1.*
BUILDLINK_TARGETS+= python21-buildlink