summaryrefslogtreecommitdiff
path: root/lang/python23
diff options
context:
space:
mode:
authordsainty <dsainty@pkgsrc.org>2009-01-23 03:05:53 +0000
committerdsainty <dsainty@pkgsrc.org>2009-01-23 03:05:53 +0000
commitf1b511b914398372e82a064d9edc03319a08d157 (patch)
tree3c83443ad661d35da86be328e554aa60f0581e3e /lang/python23
parentfc3dc4db04799181aba5efd13898e48f598862ba (diff)
downloadpkgsrc-f1b511b914398372e82a064d9edc03319a08d157.tar.gz
Any package that determines libraries to link via:
$PYTHON -c "from distutils import sysconfig; print sysconfig.get_config_var('SHLIBS');" ... where bdb.buildlink.mk has been used and it satisfied the requirement from Pkgsrc (E.g. via databases/db4) would fail to build because the required -ldb4 library was not itself buildlinked. To rectify this, pull in bdb.buildlink.mk in python??/buildlink3.mk under the same conditions as it is pulled in in the package's own makefile. No revision bump required, this almost certainly only affects packages and environments that simply wouldn't build at all prior to the fix. Fixes the build of py-ORBit on Linux (Python 2.4 or 2.5), and PR39377.
Diffstat (limited to 'lang/python23')
-rw-r--r--lang/python23/buildlink3.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/python23/buildlink3.mk b/lang/python23/buildlink3.mk
index 466378648a5..a20117d9183 100644
--- a/lang/python23/buildlink3.mk
+++ b/lang/python23/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:10:55 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2009/01/23 03:05:53 dsainty Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PYTHON23_BUILDLINK3_MK:= ${PYTHON23_BUILDLINK3_MK}+
@@ -28,6 +28,11 @@ BUILDLINK_TRANSFORM+= l:python:python2.3
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+.include "../../mk/bsd.fast.prefs.mk"
+.if ${OPSYS} != "IRIX"
+. include "../../mk/bdb.buildlink3.mk"
+.endif
+
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"