[76241] trunk/dports/audio/icecast/Portfile

jmr at macports.org jmr at macports.org
Sat Feb 19 05:25:14 PST 2011


Revision: 76241
          http://trac.macports.org/changeset/76241
Author:   jmr at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110219/bb99a5a3/attachment.html>


More information about the macports-changes mailing list