pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/py-Tk/files Fix build on NetBSD. From adam@



details:   https://anonhg.NetBSD.org/pkgsrc/rev/841532017257
branches:  trunk
changeset: 652197:841532017257
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed May 27 20:46:34 2015 +0000

description:
Fix build on NetBSD. From adam@

diffstat:

 x11/py-Tk/files/setup.py |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r a65003e2a047 -r 841532017257 x11/py-Tk/files/setup.py
--- a/x11/py-Tk/files/setup.py  Wed May 27 17:07:08 2015 +0000
+++ b/x11/py-Tk/files/setup.py  Wed May 27 20:46:34 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: setup.py,v 1.4 2013/08/09 15:18:58 adam Exp $
+# $NetBSD: setup.py,v 1.5 2015/05/27 20:46:34 wiz Exp $
 
 import distutils
 from distutils.core import setup, Extension
@@ -8,6 +8,7 @@
 bllib = blprefix + '/lib'
 tclrtprefix = '@TCLRTPREFIX@'
 tclrtlib = tclrtprefix + '/lib'
+tclincl = tclrtprefix + '/include/tcl/generic'
 tkrtprefix = '@TKRTPREFIX@'
 tkrtlib = tkrtprefix + '/lib'
 x11prefix = '@X11PREFIX@'
@@ -22,7 +23,7 @@
                        '_tkinter',
                        ['Modules/_tkinter.c', 'Modules/tkappinit.c'],
                        define_macros=[('WITH_APPINIT', None)],
-                       include_dirs=[blincl, x11incl],
+                       include_dirs=[blincl, tclincl, x11incl],
                        library_dirs=[bllib, x11lib],
                        runtime_library_dirs=[tclrtlib, tkrtlib, x11rtlib],
                        libraries=['tk', 'tcl', @X11LIB@]



Home | Main Index | Thread Index | Old Index