summaryrefslogtreecommitdiff
path: root/lang/python24
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
commit82a2ee5b15f536d10984f4df0187f134fdda28f6 (patch)
tree3c83443ad661d35da86be328e554aa60f0581e3e /lang/python24
parentd5c08314033a1b2f49bd53e273d2335d36aad494 (diff)
downloadpkgsrc-82a2ee5b15f536d10984f4df0187f134fdda28f6.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/python24')
-rw-r--r--lang/python24/buildlink3.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/python24/buildlink3.mk b/lang/python24/buildlink3.mk
index 3d2687930cb..bd4e7e762fb 100644
--- a/lang/python24/buildlink3.mk
+++ b/lang/python24/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:56 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2009/01/23 03:05:53 dsainty Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PYTHON24_BUILDLINK3_MK:= ${PYTHON24_BUILDLINK3_MK}+
@@ -28,6 +28,11 @@ BUILDLINK_TRANSFORM+= l:python:python2.4
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"