Revision: 102365 https://trac.macports.org/changeset/102365 Author: jeremyhu@macports.org Date: 2013-01-31 22:38:19 -0800 (Thu, 31 Jan 2013) Log Message: ----------- graphite2: Don't bother disabling stack protection when the compiler doesn't even know about it. Modified Paths: -------------- trunk/dports/graphics/graphite2/Portfile Modified: trunk/dports/graphics/graphite2/Portfile =================================================================== --- trunk/dports/graphics/graphite2/Portfile 2013-02-01 06:34:40 UTC (rev 102364) +++ trunk/dports/graphics/graphite2/Portfile 2013-02-01 06:38:19 UTC (rev 102365) @@ -28,9 +28,12 @@ patchfiles patch-Graphite.cmake.diff if {[string match *gcc-4.0 ${configure.compiler}]} { - # https://sourceforge.net/tracker/?func=detail&atid=513479&aid=3581749&group_i... post-patch { + # https://sourceforge.net/tracker/?func=detail&atid=513479&aid=3581749&group_i... reinplace "s|-fdiagnostics-show-option||g" ${worksrcpath}/src/CMakeLists.txt ${worksrcpath}/tests/CMakeLists.txt + + # https://sourceforge.net/tracker/?func=detail&aid=3597386&group_id=66144&atid... + reinplace "s|-fno-stack-protector||g" ${worksrcpath}/src/CMakeLists.txt ${worksrcpath}/tests/CMakeLists.txt } }