summaryrefslogtreecommitdiff
path: root/lang/python21
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-07-14 14:42:51 +0000
committerjoerg <joerg@pkgsrc.org>2008-07-14 14:42:51 +0000
commit653cfdaeb585c10027df52b14c7705ef17b28e7b (patch)
tree98175ac15e2aa1492b4a190584239e1fe0d1e59d /lang/python21
parent1588a68e9f90ef56a9baf4c70bc7cfa111391424 (diff)
downloadpkgsrc-653cfdaeb585c10027df52b14c7705ef17b28e7b.tar.gz
Always build depend on readline, so that devel/py-readline can pick up
the right config. Bump revision.
Diffstat (limited to 'lang/python21')
-rw-r--r--lang/python21/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/lang/python21/Makefile b/lang/python21/Makefile
index d9f2e2dcb85..9fed142904f 100644
--- a/lang/python21/Makefile
+++ b/lang/python21/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.36 2008/07/11 13:17:39 obache Exp $
+# $NetBSD: Makefile,v 1.37 2008/07/14 14:42:51 joerg Exp $
#
DISTNAME= Python-2.1.3
PKGNAME= python21-2.1.3
-PKGREVISION= 15
+PKGREVISION= 16
CATEGORIES= lang python
MASTER_SITES= http://www.python.org/ftp/python/2.1.3/
EXTRACT_SUFX= .tgz
@@ -77,6 +77,10 @@ PLIST_SUBST+= PY_VER_SUFFIX=${PY_VER_SUFFIX:Q}
post-extract:
${MV} ${WRKSRC}/Tools/scripts/pydoc ${WRKSRC}/Tools/scripts/pydoc${PY_VER_SUFFIX}
+USE_GNU_READLINE= # defined
+BUILDLINK_DEPMETHOD.readline= build
+
+.include "../../devel/readline/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"