mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
49b9a5a788
- Fix depends on devel/py-pytz, it has been packed as an egg - USE_PYTHON=yes, there is no python2.2 in ports tree - Remove 4.x stuff - Use USE_TCL, USE_TK, and some variables in bsd.tcl.mk - Adjust EXAMPLESDIR - Use static pkg-plist PR: 110184 Submitted by: Li-Wen Hsu <lwhsu@lwhsu.org> Approved by: maintainer
29 lines
1.1 KiB
Python
29 lines
1.1 KiB
Python
--- setupext.py.orig Sun Mar 11 16:20:42 2007
|
|
+++ setupext.py Sun Mar 11 16:22:14 2007
|
|
@@ -50,9 +50,10 @@
|
|
'cygwin' : ['/usr/local', '/usr',],
|
|
'darwin' : ['/sw/lib/freetype2', '/sw/lib/freetype219', '/usr/local',
|
|
'/usr', '/sw'],
|
|
- 'freebsd4' : ['/usr/local', '/usr'],
|
|
- 'freebsd5' : ['/usr/local', '/usr'],
|
|
- 'freebsd6' : ['/usr/local', '/usr'],
|
|
+ 'freebsd4' : ['%%LOCALBASE%%', '/usr'],
|
|
+ 'freebsd5' : ['%%LOCALBASE%%', '/usr'],
|
|
+ 'freebsd6' : ['%%LOCALBASE%%', '/usr'],
|
|
+ 'freebsd7' : ['%%LOCALBASE%%', '/usr'],
|
|
'sunos5' : [os.getenv('MPLIB_BASE') or '/usr/local',],
|
|
'gnukfreebsd5' : ['/usr/local', '/usr'],
|
|
'gnukfreebsd6' : ['/usr/local', '/usr'],
|
|
@@ -455,9 +456,9 @@
|
|
|
|
# you're still here? ok we'll try it this way
|
|
o = find_tcltk() # todo: try/except
|
|
- module.include_dirs.extend([o.tcl_inc, o.tk_inc])
|
|
+ module.include_dirs.extend(["%%TCL_INCLUDEDIR%%", "%%TK_INCLUDEDIR%%"])
|
|
module.library_dirs.extend([o.tcl_lib, o.tk_lib])
|
|
- module.libraries.extend(['tk'+o.tkv, 'tcl'+o.tkv])
|
|
+ module.libraries.extend(['tk%%USE_TK%%', 'tcl%%USE_TCL%%'])
|
|
|
|
|
|
def add_windowing_flags(module):
|