pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/python - Fix an error where -lpython does not get...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a9c71b4ae4cc
branches: trunk
changeset: 486494:a9c71b4ae4cc
user: adrianp <adrianp%pkgsrc.org@localhost>
date: Tue Dec 28 22:48:11 2004 +0000
description:
- 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:
lang/python/extension.mk | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 65966ae90532 -r a9c71b4ae4cc lang/python/extension.mk
--- a/lang/python/extension.mk Tue Dec 28 22:41:53 2004 +0000
+++ b/lang/python/extension.mk Tue Dec 28 22:48:11 2004 +0000
@@ -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 @@
.if defined(PY_PATCHPLIST)
PLIST_SUBST+= PYINC=${PYINC} PYSITELIB=${PYSITELIB}
.endif
+
+.if ${OPSYS} == "Darwin"
+LDFLAGS+= -lpython
+.endif
Home |
Main Index |
Thread Index |
Old Index