Ticket #46218: setup_py.diff
File setup_py.diff, 573 bytes (added by howarth.at.macports@…, 10 years ago) |
---|
-
setup.py
else: # unix style (linux, mac, ...) 264 264 try: 265 265 prefix_path = os.environ['PREFIX_PATH'].split(os.pathsep) 266 266 except KeyError: 267 prefix_path = [" /usr", "/usr/X11", "/opt/local", "/sw"]267 prefix_path = ["@PREFIX@", "/usr", "/usr/X11"] 268 268 269 269 for prefix in prefix_path: 270 270 inc_dirs += filter(os.path.isdir, [prefix + s for s in ["/include", "/include/freetype2", "/include/libxml2"]])