[MacPorts] #32628: py27-geoip @1.2.5 can not find GeoIP.h with clang
MacPorts
noreply at macports.org
Thu Dec 22 21:39:36 PST 2011
#32628: py27-geoip @1.2.5 can not find GeoIP.h with clang
------------------------------+---------------------------------------------
Reporter: lwarxx@… | Owner: miwi@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: clang | Port: py27-geoip
------------------------------+---------------------------------------------
Comment(by lwarxx@…):
I tried to add different configure.compiler options with no effect
(probably clang is selected somewhere inside distutils.core). I was able
to find workaround by looking for similar python ports - for example py-
apsw uses additional setup.cfg to set proper include and library paths:
{{{
post-extract {
file copy ${filespath}/setup.cfg ${worksrcpath}/setup.cfg
reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.cfg
}
}}}
{{{
[build_ext]
include_dirs=@@PREFIX@@/include
library_dirs=@@PREFIX@@/lib
}}}
--
Ticket URL: <https://trac.macports.org/ticket/32628#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list