Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #13778 (closed defect: duplicate)

Opened 11 months ago

Last modified 9 months ago

python25 doesn't install locale.so on Darwin 9

Reported by: mdickens@… Owned by: macports-tickets@…
Priority: Normal Milestone: Port Bugs
Component: ports Version: 1.6.0
Keywords: python25, locale, darwin 9 Cc:
Port:

Description

There is a bug in the setup.py script that inhibits the inclusion of /opt/local/include as a search directory for various headers (e.g. sqlite3.h, db.h), when that string is followed by another compiler directive that does not start with "-I". For Darwin 8, this is not an issue (the string to be parsed is "-I. -I./Include -I/opt/local/include"); but for Darwin 9 it is an issue (string "-I. -I./Include -I/opt/local/include -D__DARWIN_UNIX03"). I'll attach a replacement for patch-setup.py that corrects this issue as well as makes sure /opt/local/... is in the list of search directories. This patch should work with all install types, and supersedes the same-named file from ticket:11267.

Attachments

patch-setup.py (2.7 KB) - added by mdickens@… 11 months ago.
Replacement patch-setup.py to correct processing of -I directives

Change History

Changed 11 months ago by mdickens@…

Replacement patch-setup.py to correct processing of -I directives

Changed 11 months ago by mdickens@…

Forgot to mention: This patch fixes the _locale.so lib-dylib compilation (which requires /opt/local/include to be in the directory search list, for libintl.h). '_locale' is used by other MacPorts py25-YYY installs.

Changed 11 months ago by mdickens@…

This ticket is now superseded by the tarball provided in ticket #11267.

Changed 9 months ago by jmr@…

  • cc mdickens@… removed
  • status changed from new to closed
  • resolution set to duplicate

Marking duplicate per comment:2.

Note: See TracTickets for help on using tickets.