pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/py-wxWindows fix build with the GTK+2 version of w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/061022b0af9a
branches:  trunk
changeset: 466056:061022b0af9a
user:      recht <recht%pkgsrc.org@localhost>
date:      Sat Jan 10 20:56:32 2004 +0000

description:
fix build with the GTK+2 version of wxGTK

diffstat:

 x11/py-wxWindows/Makefile |  12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 2c8f8e9cc1ea -r 061022b0af9a x11/py-wxWindows/Makefile
--- a/x11/py-wxWindows/Makefile Sat Jan 10 20:26:27 2004 +0000
+++ b/x11/py-wxWindows/Makefile Sat Jan 10 20:56:32 2004 +0000
@@ -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.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"



Home | Main Index | Thread Index | Old Index