Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#13778 closed defect (duplicate)

python25 doesn't install locale.so on Darwin 9

Reported by: mdickens@… Owned by: macports-tickets@…
Priority: Normal Milestone:
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 (1)

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

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by mdickens@…

Attachment: patch-setup.py added

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

comment:1 Changed 13 years 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.

comment:2 Changed 13 years ago by mdickens@…

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

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Cc: mdickens@… removed
Resolution: duplicate
Status: newclosed

Marking duplicate per comment:2.

comment:4 Changed 12 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.