$NetBSD: patch-aa,v 1.7 2001/11/22 13:08:41 hubertf Exp $ --- setup.py.orig Thu Jul 5 15:00:50 2001 +++ setup.py @@ -84,6 +84,8 @@ config.macros.append(item) elif head == '-L': config.lib_dirs.append(item) + elif head == '-R': + config.lib_dirs.append(item) elif head == '-l': config.libraries.append(item) else: @@ -348,6 +350,12 @@ print 'reading additional configuration from', setup_local, '...', configs = extract_config(setup_local, configs) print 'done' + + # NetBSD separately has 'Setup.tk' for tk-related configuration + setup_tk = os.path.join(configdir, 'Setup.tk') + print 'reading tk-related configuration from', setup_tk, '...', + configs = extract_config(setup_tk, configs) + print 'done' configure_tkinter(configs, flags) #if not configs.has_key('_tkinter'):