[72296] trunk/dports/lang/pure-devel

ryandesign at macports.org ryandesign at macports.org
Sun Oct 10 02:45:31 PDT 2010


Revision: 72296
          http://trac.macports.org/changeset/72296
Author:   ryandesign at macports.org
Date:     2010-10-10 02:45:27 -0700 (Sun, 10 Oct 2010)
Log Message:
-----------
pure-devel: apply an upstream fix to properly detect when the daylight variable is absent in time.h, thus allowing the build to succeed on Tiger

Modified Paths:
--------------
    trunk/dports/lang/pure-devel/Portfile

Added Paths:
-----------
    trunk/dports/lang/pure-devel/files/patch-acinclude.m4.diff

Modified: trunk/dports/lang/pure-devel/Portfile
===================================================================
--- trunk/dports/lang/pure-devel/Portfile	2010-10-10 09:04:26 UTC (rev 72295)
+++ trunk/dports/lang/pure-devel/Portfile	2010-10-10 09:45:27 UTC (rev 72296)
@@ -51,6 +51,8 @@
 depends_run \
     path:bin/w3m:w3m
 
+patchfiles              patch-acinclude.m4.diff
+
 platform macosx {
     depends_run-replace s|path:bin/w3m:w3m|path:bin/openbrowser:openbrowser|
     patchfiles-append   patch-openbrowser.diff

Added: trunk/dports/lang/pure-devel/files/patch-acinclude.m4.diff
===================================================================
--- trunk/dports/lang/pure-devel/files/patch-acinclude.m4.diff	                        (rev 0)
+++ trunk/dports/lang/pure-devel/files/patch-acinclude.m4.diff	2010-10-10 09:45:27 UTC (rev 72296)
@@ -0,0 +1,17 @@
+http://groups.google.com/group/pure-lang/browse_thread/thread/51a6edd21f996188
+--- acinclude.m4.orig	(revision 3592)
++++ acinclude.m4	(revision 3593)
+@@ -1,4 +1,5 @@
+ AC_DEFUN([PURE_CHECK_TIME_H_DECLARES_DAYLIGHT], [
++  AC_LANG_PUSH([C++])
+   AC_CACHE_CHECK(
+     [whether time.h declares the daylight variable],
+     pure_cv_daylight_in_time_h,
+@@ -14,6 +15,7 @@
+     pure_cv_daylight_in_time_h=no
+     )]
+   )
++  AC_LANG_POP([C++])
+   if test "x$pure_cv_daylight_in_time_h" = xyes; then
+     AC_DEFINE(
+       HAVE_DAYLIGHT_IN_TIME_H,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101010/207e8c35/attachment-0001.html>


More information about the macports-changes mailing list