Revision: 76241 http://trac.macports.org/changeset/76241 Author: jmr@macports.org Date: 2011-02-19 05:25:10 -0800 (Sat, 19 Feb 2011) Log Message: ----------- icecast: fix build (#23134) Modified Paths: -------------- trunk/dports/audio/icecast/Portfile Modified: trunk/dports/audio/icecast/Portfile =================================================================== --- trunk/dports/audio/icecast/Portfile 2011-02-19 12:52:27 UTC (rev 76240) +++ trunk/dports/audio/icecast/Portfile 2011-02-19 13:25:10 UTC (rev 76241) @@ -22,6 +22,12 @@ platform darwin { patchfiles apple-patches + configure.cppflags-append -D_DARWIN_C_SOURCE + post-configure { + # the configure check for this is utterly broken + reinplace {s|/\* #undef HAVE_SOCKLEN_T \*/|#define HAVE_SOCKLEN_T 1|} \ + ${worksrcpath}/config.h + } } #variant python { # depends_build bin:python:python
participants (1)
-
jmr@macports.org