Revision: 110449 https://trac.macports.org/changeset/110449 Author: jeremyhu@macports.org Date: 2013-08-30 23:28:55 -0700 (Fri, 30 Aug 2013) Log Message: ----------- memcached: Build with clang Modified Paths: -------------- trunk/dports/sysutils/memcached/Portfile Modified: trunk/dports/sysutils/memcached/Portfile =================================================================== --- trunk/dports/sysutils/memcached/Portfile 2013-08-31 06:19:52 UTC (rev 110448) +++ trunk/dports/sysutils/memcached/Portfile 2013-08-31 06:28:55 UTC (rev 110449) @@ -22,9 +22,6 @@ checksums rmd160 b46ebf6b43520511d15c8e9f0ba4ab19f3aebc6e \ sha256 f2e2ad8ee8d256f2c3748d7f741dcddfd0ab6bdece6fa1c18484e83f311156ef -# http://code.google.com/p/memcached/issues/detail?id=285 -compiler.blacklist clang - configure.args --with-libevent=${prefix} \ ac_cv_search_umem_cache_create=no \ ac_cv_header_umem_h=no @@ -43,6 +40,13 @@ } } +post-patch { + # http://code.google.com/p/memcached/issues/detail?id=285 + if {[string match "*clang*" ${configure.compiler}]} { + reinplace "s|-Werror||g" ${worksrcpath}/configure ${worksrcpath}/doc/Makefile + } +} + variant sasl description {enable SASL authentication} { configure.args-append --enable-sasl }
participants (1)
-
jeremyhu@macports.org