Revision: 110337 https://trac.macports.org/changeset/110337 Author: jeremyhu@macports.org Date: 2013-08-30 01:02:49 -0700 (Fri, 30 Aug 2013) Log Message: ----------- libproxy: Workaround possible build failure Modified Paths: -------------- trunk/dports/net/libproxy/Portfile Modified: trunk/dports/net/libproxy/Portfile =================================================================== --- trunk/dports/net/libproxy/Portfile 2013-08-30 07:29:41 UTC (rev 110336) +++ trunk/dports/net/libproxy/Portfile 2013-08-30 08:02:49 UTC (rev 110337) @@ -96,7 +96,10 @@ } post-patch { - reinplace "s:-D_POSIX_C_SOURCE=1:-D_POSIX_C_SOURCE=200112L:" ${worksrcpath}/libproxy/CMakeLists.txt + if {${os.major} < 13 && [string match "*clang*" ${configure.compiler}]} { + # <rdar://problem/12941376> + reinplace "s:-D_POSIX_C_SOURCE=200112L:-D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE=1:" ${worksrcpath}/libproxy/CMakeLists.txt + } } livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
participants (1)
-
jeremyhu@macports.org