[56778] trunk/dports/devel/apr0/Portfile

blair at macports.org blair at macports.org
Tue Sep 1 21:15:28 PDT 2009


Revision: 56778
          http://trac.macports.org/changeset/56778
Author:   blair at macports.org
Date:     2009-09-01 21:15:22 -0700 (Tue, 01 Sep 2009)
Log Message:
-----------
Fix #20958 by applying the same post-configure that works on 10.5 to
10.6.

Modified Paths:
--------------
    trunk/dports/devel/apr0/Portfile

Modified: trunk/dports/devel/apr0/Portfile
===================================================================
--- trunk/dports/devel/apr0/Portfile	2009-09-02 03:37:21 UTC (rev 56777)
+++ trunk/dports/devel/apr0/Portfile	2009-09-02 04:15:22 UTC (rev 56778)
@@ -38,6 +38,12 @@
 	}
 }
 
+platform darwin 10 {
+	post-configure {
+		reinplace {s|\(#define APR_HAS_SENDFILE[[:space:]]*\)1|\1 0|} ${worksrcpath}/include/apr.h
+	}
+}
+
 livecheck.check	regex
 livecheck.url	http://www.apache.org/dist/apr/
 livecheck.regex	APR (0\\.\[0-9.\]+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090901/79f98bad/attachment.html>


More information about the macports-changes mailing list