diff options
author | recht <recht@pkgsrc.org> | 2004-01-10 20:56:32 +0000 |
---|---|---|
committer | recht <recht@pkgsrc.org> | 2004-01-10 20:56:32 +0000 |
commit | 7dd3f09d6c9ce9f74eb17eea398f39aa20fef10c (patch) | |
tree | 00690175ed837ab4485c75a5f64927a1ce112da5 /x11 | |
parent | cf0c842bcd70b0397183a2ce3f13ace22920da33 (diff) | |
download | pkgsrc-7dd3f09d6c9ce9f74eb17eea398f39aa20fef10c.tar.gz |
fix build with the GTK+2 version of wxGTK
Diffstat (limited to 'x11')
-rw-r--r-- | x11/py-wxWindows/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/x11/py-wxWindows/Makefile b/x11/py-wxWindows/Makefile index 54c06e24478..93c1b898561 100644 --- a/x11/py-wxWindows/Makefile +++ b/x11/py-wxWindows/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2004/01/10 14:25:42 recht Exp $ +# $NetBSD: Makefile,v 1.24 2004/01/10 20:56:32 recht Exp $ # DISTNAME= wxPythonSrc-2.4.2.4 @@ -21,12 +21,18 @@ BUILDLINK_DEPENDS.python21-pth= python21-pth>=2.1.3nb3 BUILDLINK_DEPENDS.python22-pth= python22-pth>=2.2.2nb2 BUILDLINK_DEPENDS.wxGTK= wxGTK>=2.4.1nb1 +.include "../../mk/bsd.prefs.mk" + +.if empty(WXGTK_USE_GTK1:M[Yy][Ee][Ss]) +WXARG= WXPORT=gtk2 +.endif + 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 +PYSETUPBUILDARGS= BUILD_GLCANVAS=0 BUILD_OGL=0 NO_SCRIPTS=1 ${WXARG} +PYSETUPINSTALLARGS= BUILD_GLCANVAS=0 BUILD_OGL=0 NO_SCRIPTS=1 ${WXARG} PYBINMODULE= yes .include "../../x11/wxGTK/buildlink2.mk" |