diff options
author | jlam <jlam> | 2002-09-20 22:44:18 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-09-20 22:44:18 +0000 |
commit | c6168b0b6c21cad2124e2d371d567c63f90d0858 (patch) | |
tree | e4a7311d20ce309a96c221addcb4a705e1cdf018 /lang/python21-pth | |
parent | f4c6cf064b7d408fdf3b3296051ee9db6a24a05a (diff) | |
download | pkgsrc-c6168b0b6c21cad2124e2d371d567c63f90d0858.tar.gz |
Python extensions also install headers into ${PYINC}, so we can't just
assume all of those headers belong to the python package. We use the trick
for kdelibs2 and generate the BUILDLINK_FILES list from the PLIST.
Diffstat (limited to 'lang/python21-pth')
-rw-r--r-- | lang/python21-pth/buildlink2.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/python21-pth/buildlink2.mk b/lang/python21-pth/buildlink2.mk index dd06aeb20d4..fdaa35ab909 100644 --- a/lang/python21-pth/buildlink2.mk +++ b/lang/python21-pth/buildlink2.mk @@ -1,8 +1,10 @@ -# $NetBSD: buildlink2.mk,v 1.1 2002/09/20 22:33:30 jlam Exp $ +# $NetBSD: buildlink2.mk,v 1.2 2002/09/20 22:44:19 jlam Exp $ .if !defined(PYTHON21_BUILDLINK2_MK) PYTHON21_BUILDLINK2_MK= # defined +.include "../../mk/bsd.prefs.mk" + BUILDLINK_PACKAGES+= python21-pth BUILDLINK_DEPENDS.python21-pth?= python21-pth>=2.1 BUILDLINK_PKGSRCDIR.python21-pth?= ../../lang/python21-pth @@ -13,7 +15,8 @@ BUILDLINK_DEPMETHOD.python21-pth?= ${BUILDLINK_DEPMETHOD.python} EVAL_PREFIX+= BUILDLINK_PREFIX.python21-pth=python21-pth BUILDLINK_PREFIX.python21-pth_DEFAULT= ${LOCALBASE} -BUILDLINK_FILES.python21-pth= include/python2p1/* +BUILDLINK_FILES.python21-pth!= \ + ${GREP} "^include/" ${.CURDIR}/${BUILDLINK_PKGSRCDIR.python21-pth}/PLIST BUILDLINK_FILES.python21-pth+= lib/python2p1/config/libpython2p1.* BUILDLINK_TARGETS+= python21-pth-buildlink |