[42691] trunk/dports/net/c-ares
toby at macports.org
toby at macports.org
Sat Nov 29 10:59:58 PST 2008
Revision: 42691
http://trac.macports.org/changeset/42691
Author: toby at macports.org
Date: 2008-11-29 10:59:58 -0800 (Sat, 29 Nov 2008)
Log Message:
-----------
fix +universal build
Modified Paths:
--------------
trunk/dports/net/c-ares/Portfile
Added Paths:
-----------
trunk/dports/net/c-ares/files/
trunk/dports/net/c-ares/files/config.h.ed
Modified: trunk/dports/net/c-ares/Portfile
===================================================================
--- trunk/dports/net/c-ares/Portfile 2008-11-29 18:52:06 UTC (rev 42690)
+++ trunk/dports/net/c-ares/Portfile 2008-11-29 18:59:58 UTC (rev 42691)
@@ -19,3 +19,7 @@
rmd160 8f886748783d8d4ef97b494544cebd924730b695
configure.args --mandir=${prefix}/share/man \
--enable-shared
+
+post-configure {
+ system "ed - ${worksrcpath}/config.h < ${filespath}/config.h.ed"
+}
Added: trunk/dports/net/c-ares/files/config.h.ed
===================================================================
--- trunk/dports/net/c-ares/files/config.h.ed (rev 0)
+++ trunk/dports/net/c-ares/files/config.h.ed 2008-11-29 18:59:58 UTC (rev 42691)
@@ -0,0 +1,29 @@
+/ARES_BIG_ENDIAN/c
+#ifdef __BIG_ENDIAN__
+#define ARES_BIG_ENDIAN 1
+#else
+/* #undef ARES_BIG_ENDIAN */
+#endif
+.
+/SIZEOF_LONG/c
+#ifdef __LP64__
+#define SIZEOF_LONG 8
+#else
+#define SIZEOF_LONG 4
+#endif
+.
+/SIZEOF_SIZE_T/c
+#ifdef __LP64__
+#define SIZEOF_SIZE_T 8
+#else
+#define SIZEOF_SIZE_T 4
+#endif
+.
+/SIZEOF_TIME_T/c
+#ifdef __LP64__
+#define SIZEOF_TIME_T 8
+#else
+#define SIZEOF_TIME_T 4
+#endif
+.
+w
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081129/d88e4501/attachment.html>
More information about the macports-changes
mailing list