[72297] trunk/dports/lang/pure
ryandesign at macports.org
ryandesign at macports.org
Sun Oct 10 03:01:20 PDT 2010
Revision: 72297
http://trac.macports.org/changeset/72297
Author: ryandesign at macports.org
Date: 2010-10-10 03:01:17 -0700 (Sun, 10 Oct 2010)
Log Message:
-----------
pure: 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/Portfile
Added Paths:
-----------
trunk/dports/lang/pure/files/patch-acinclude.m4.diff
Modified: trunk/dports/lang/pure/Portfile
===================================================================
--- trunk/dports/lang/pure/Portfile 2010-10-10 09:45:27 UTC (rev 72296)
+++ trunk/dports/lang/pure/Portfile 2010-10-10 10:01:17 UTC (rev 72297)
@@ -29,10 +29,12 @@
The libraries are licensed under LGPLv3, the interpreter is GPLv3, and \
the examples are BSD-licensed.
+use_autoreconf yes
+
checksums sha1 dd7199091b254be57704ea0fff730baf8c32ab45 \
rmd160 4c5c9920e5210bc6503885fc45366fe85bedf083
-depends_build \
+depends_build-append \
path:bin/llvm-config:llvm
depends_lib \
@@ -44,6 +46,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
Copied: trunk/dports/lang/pure/files/patch-acinclude.m4.diff (from rev 72296, trunk/dports/lang/pure-devel/files/patch-acinclude.m4.diff)
===================================================================
--- trunk/dports/lang/pure/files/patch-acinclude.m4.diff (rev 0)
+++ trunk/dports/lang/pure/files/patch-acinclude.m4.diff 2010-10-10 10:01:17 UTC (rev 72297)
@@ -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/32e7b63e/attachment.html>
More information about the macports-changes
mailing list