diff options
author | dsainty <dsainty@pkgsrc.org> | 2009-01-23 03:05:53 +0000 |
---|---|---|
committer | dsainty <dsainty@pkgsrc.org> | 2009-01-23 03:05:53 +0000 |
commit | 82a2ee5b15f536d10984f4df0187f134fdda28f6 (patch) | |
tree | 3c83443ad661d35da86be328e554aa60f0581e3e /lang/python21 | |
parent | d5c08314033a1b2f49bd53e273d2335d36aad494 (diff) | |
download | pkgsrc-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/python21')
-rw-r--r-- | lang/python21/buildlink3.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/python21/buildlink3.mk b/lang/python21/buildlink3.mk index 745387dff18..aff4bb393d1 100644 --- a/lang/python21/buildlink3.mk +++ b/lang/python21/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:55 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.10 2009/01/23 03:05:53 dsainty Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ PYTHON21_BUILDLINK3_MK:= ${PYTHON21_BUILDLINK3_MK}+ @@ -27,5 +27,10 @@ BUILDLINK_TRANSFORM+= l:python:python2.1 BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} +.include "../../mk/bsd.fast.prefs.mk" +.if ${OPSYS} != "SunOS" && ${OPSYS} != "IRIX" +. include "../../mk/bdb.buildlink3.mk" +.endif + .include "../../mk/dlopen.buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" |