summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authoradrianp <adrianp>2004-12-28 22:48:11 +0000
committeradrianp <adrianp>2004-12-28 22:48:11 +0000
commit6e0dd6a4521994fa3624ffb0176558a929e46eb4 (patch)
tree4f5d6c31de6e259ee85e4121f633de76fb83797f /lang/python
parent71c2c0cfd7608c5b3393121adb205762a7d5cfea (diff)
downloadpkgsrc-6e0dd6a4521994fa3624ffb0176558a929e46eb4.tar.gz
- Fix an error where -lpython does not get defined on Darwin and causes
the compile of python modules to fail. - Fixes PR# 28605 - Ok'ed recht@
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/extension.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/python/extension.mk b/lang/python/extension.mk
index d8ed0eaebef..3084ceec6cf 100644
--- a/lang/python/extension.mk
+++ b/lang/python/extension.mk
@@ -1,4 +1,4 @@
-# $NetBSD: extension.mk,v 1.11 2004/06/12 21:18:31 darcy Exp $
+# $NetBSD: extension.mk,v 1.12 2004/12/28 22:48:11 adrianp Exp $
# derive a python version from the package name if possible
# optionally handled quoted package names
@@ -35,3 +35,7 @@ do-install:
.if defined(PY_PATCHPLIST)
PLIST_SUBST+= PYINC=${PYINC} PYSITELIB=${PYSITELIB}
.endif
+
+.if ${OPSYS} == "Darwin"
+LDFLAGS+= -lpython
+.endif