[45532] trunk/dports/devel/gettext
ryandesign at macports.org
ryandesign at macports.org
Sat Jan 17 01:58:51 PST 2009
Revision: 45532
http://trac.macports.org/changeset/45532
Author: ryandesign at macports.org
Date: 2009-01-17 01:58:51 -0800 (Sat, 17 Jan 2009)
Log Message:
-----------
gettext: fix 64-bit build issues; see #17983
Modified Paths:
--------------
trunk/dports/devel/gettext/Portfile
Added Paths:
-----------
trunk/dports/devel/gettext/files/config.h.ed
Modified: trunk/dports/devel/gettext/Portfile
===================================================================
--- trunk/dports/devel/gettext/Portfile 2009-01-17 09:52:37 UTC (rev 45531)
+++ trunk/dports/devel/gettext/Portfile 2009-01-17 09:58:51 UTC (rev 45532)
@@ -4,7 +4,7 @@
name gettext
version 0.17
-revision 3
+revision 4
categories devel
maintainers ryandesign
homepage http://www.gnu.org/software/gettext/
@@ -50,6 +50,13 @@
test.run yes
test.target check
+platform darwin {
+ post-configure {
+ system "cd ${worksrcpath} && ed - ${worksrcpath}/gettext-runtime/config.h < ${filespath}/config.h.ed && touch gettext-runtime/stamp-h1"
+ system "cd ${worksrcpath} && ed - ${worksrcpath}/gettext-tools/config.h < ${filespath}/config.h.ed && touch gettext-tools/stamp-h1"
+ }
+}
+
platform darwin 6 {
depends_lib-append \
lib:libdl:dlcompat
Added: trunk/dports/devel/gettext/files/config.h.ed
===================================================================
--- trunk/dports/devel/gettext/files/config.h.ed (rev 0)
+++ trunk/dports/devel/gettext/files/config.h.ed 2009-01-17 09:58:51 UTC (rev 45532)
@@ -0,0 +1,15 @@
+/BITSIZEOF_PTRDIFF_T/c
+#ifdef __LP64__
+#define BITSIZEOF_PTRDIFF_T 64
+#else
+#define BITSIZEOF_PTRDIFF_T 32
+#endif
+.
+/BITSIZEOF_SIZE_T/c
+#ifdef __LP64__
+#define BITSIZEOF_SIZE_T 64
+#else
+#define BITSIZEOF_SIZE_T 32
+#endif
+.
+w
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090117/9ed362de/attachment.html>
More information about the macports-changes
mailing list