[56972] trunk/dports/net/tf
toby at macports.org
toby at macports.org
Thu Sep 3 21:45:41 PDT 2009
Revision: 56972
http://trac.macports.org/changeset/56972
Author: toby at macports.org
Date: 2009-09-03 21:45:40 -0700 (Thu, 03 Sep 2009)
Log Message:
-----------
fix universal build
Modified Paths:
--------------
trunk/dports/net/tf/Portfile
Added Paths:
-----------
trunk/dports/net/tf/files/tfconfig.h.ed
Modified: trunk/dports/net/tf/Portfile
===================================================================
--- trunk/dports/net/tf/Portfile 2009-09-04 04:34:52 UTC (rev 56971)
+++ trunk/dports/net/tf/Portfile 2009-09-04 04:45:40 UTC (rev 56972)
@@ -24,6 +24,10 @@
patchfiles patch-src-malloc.c.diff
+post-configure {
+ system "ed - ${worksrcpath}/src/tfconfig.h < ${filespath}/tfconfig.h.ed"
+}
+
destroot.destdir prefix=${destroot}${prefix}
variant ssl description "Enable SSL support" {
Added: trunk/dports/net/tf/files/tfconfig.h.ed
===================================================================
--- trunk/dports/net/tf/files/tfconfig.h.ed (rev 0)
+++ trunk/dports/net/tf/files/tfconfig.h.ed 2009-09-04 04:45:40 UTC (rev 56972)
@@ -0,0 +1,8 @@
+/SIZEOF_LONG/c
+#ifdef __LP64__
+#define SIZEOF_LONG 8
+#else
+#define SIZEOF_LONG 4
+#endif
+.
+w
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090903/035a55ed/attachment.html>
More information about the macports-changes
mailing list