aaa25f9bc4
Since glib pulls in threads, we gave to use a threaded Python. While this is not exactly what the author of PR pkg/21428 intended, it is correct now. There is still a problem with dynamically loading of C++ libraries (the known libgcc issue). For reasons I don't understand atm this only shows up on 1.5.
33 lines
965 B
Makefile
33 lines
965 B
Makefile
# $NetBSD: Makefile,v 1.14 2003/05/09 11:46:43 drochner Exp $
|
|
#
|
|
|
|
DISTNAME= wxPythonSrc-2.4.0.7
|
|
PKGNAME= ${PYPKGPREFIX}-wxWindows-2.4.0.7
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wxpython/}
|
|
|
|
MAINTAINER= tsarna@netbsd.org
|
|
HOMEPAGE= http://wxpython.org/
|
|
COMMENT= wxPython: Python bindings for wxWindows
|
|
|
|
WRKSRC= ${WRKDIR}/wxPythonSrc-2.4.0.7/wxPython
|
|
|
|
USE_BUILDLINK2= yes
|
|
USE_GMAKE= yes
|
|
|
|
# we depend on glib which pulls in threads
|
|
PYTHON_VERSIONS_ACCEPTED= 22pth 21pth
|
|
BUILDLINK_DEPENDS.python21-pth= python21-pth>=2.1.3nb3
|
|
BUILDLINK_DEPENDS.python22-pth= python22-pth>=2.2.2nb2
|
|
|
|
PYDISTUTILSPKG= yes
|
|
# no GL to limit dependencies
|
|
# OGL doesn't build with egcs-1.1.2
|
|
# no scripts to avoid conflicts
|
|
PYSETUPBUILDARGS= BUILD_GLCANVAS=0 BUILD_OGL=0 NO_SCRIPTS=1
|
|
PYSETUPINSTALLARGS= BUILD_GLCANVAS=0 BUILD_OGL=0 NO_SCRIPTS=1
|
|
PYBINMODULE= yes
|
|
|
|
.include "../../x11/wxGTK/buildlink2.mk"
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|