[56608] trunk/dports/devel/libgcrypt
jmr at macports.org
jmr at macports.org
Sun Aug 30 13:09:06 PDT 2009
Revision: 56608
http://trac.macports.org/changeset/56608
Author: jmr at macports.org
Date: 2009-08-30 13:09:01 -0700 (Sun, 30 Aug 2009)
Log Message:
-----------
libgcrypt: fix for multi word size build (#20866)
Modified Paths:
--------------
trunk/dports/devel/libgcrypt/Portfile
Added Paths:
-----------
trunk/dports/devel/libgcrypt/files/
trunk/dports/devel/libgcrypt/files/config.h.ed
Modified: trunk/dports/devel/libgcrypt/Portfile
===================================================================
--- trunk/dports/devel/libgcrypt/Portfile 2009-08-30 19:53:55 UTC (rev 56607)
+++ trunk/dports/devel/libgcrypt/Portfile 2009-08-30 20:09:01 UTC (rev 56608)
@@ -32,6 +32,12 @@
configure.args --disable-asm
+post-configure {
+ if {[variant_isset universal]} {
+ system "cd ${worksrcpath} && ed - ${worksrcpath}/config.h < ${filespath}/config.h.ed && touch stamp-h1"
+ }
+}
+
use_parallel_build yes
post-destroot {
Added: trunk/dports/devel/libgcrypt/files/config.h.ed
===================================================================
--- trunk/dports/devel/libgcrypt/files/config.h.ed (rev 0)
+++ trunk/dports/devel/libgcrypt/files/config.h.ed 2009-08-30 20:09:01 UTC (rev 56608)
@@ -0,0 +1,8 @@
+/#define SIZEOF_UNSIGNED_LONG/c
+#ifdef __LP64__
+#define SIZEOF_UNSIGNED_LONG 8
+#else
+#define SIZEOF_UNSIGNED_LONG 4
+#endif
+.
+w
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090830/aeab7507/attachment.html>
More information about the macports-changes
mailing list