summaryrefslogtreecommitdiff
path: root/x11/py-Tk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-05-27 20:46:34 +0000
committerwiz <wiz@pkgsrc.org>2015-05-27 20:46:34 +0000
commit21715a0f7b18eb2810fe94507094f2e9afac9b65 (patch)
tree68c425151796d746fd29a65d9cebcd47a243064b /x11/py-Tk
parent2b293a720ce4ef92daac6091b962d03d36b2b16b (diff)
downloadpkgsrc-21715a0f7b18eb2810fe94507094f2e9afac9b65.tar.gz
Fix build on NetBSD. From adam@
Diffstat (limited to 'x11/py-Tk')
-rw-r--r--x11/py-Tk/files/setup.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11/py-Tk/files/setup.py b/x11/py-Tk/files/setup.py
index 829c28230a1..423bfda882c 100644
--- a/x11/py-Tk/files/setup.py
+++ b/x11/py-Tk/files/setup.py
@@ -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 @@ blincl = blprefix + '/include'
bllib = blprefix + '/lib'
tclrtprefix = '@TCLRTPREFIX@'
tclrtlib = tclrtprefix + '/lib'
+tclincl = tclrtprefix + '/include/tcl/generic'
tkrtprefix = '@TKRTPREFIX@'
tkrtlib = tkrtprefix + '/lib'
x11prefix = '@X11PREFIX@'
@@ -22,7 +23,7 @@ setup(
'_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@]