[111394] trunk/dports
ryandesign at macports.org
ryandesign at macports.org
Fri Sep 20 00:24:36 PDT 2013
Revision: 111394
https://trac.macports.org/changeset/111394
Author: ryandesign at macports.org
Date: 2013-09-20 00:24:36 -0700 (Fri, 20 Sep 2013)
Log Message:
-----------
pure modules: set CC and CXX as environment variables instead of make arguments, to try to fix pure-gen build failure
Modified Paths:
--------------
trunk/dports/_resources/port1.0/group/pure-1.0.tcl
trunk/dports/net/pure-sockets/Portfile
Added Paths:
-----------
trunk/dports/net/pure-sockets/files/
trunk/dports/net/pure-sockets/files/patch-Makefile.diff
Modified: trunk/dports/_resources/port1.0/group/pure-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/pure-1.0.tcl 2013-09-20 05:30:25 UTC (rev 111393)
+++ trunk/dports/_resources/port1.0/group/pure-1.0.tcl 2013-09-20 07:24:36 UTC (rev 111394)
@@ -56,12 +56,12 @@
use_parallel_build yes
pre-build {
- build.args-append CC=${configure.cc} \
- CFLAGS="${configure.cflags} ${configure.cc_archflags}" \
+ build.args-append CFLAGS="${configure.cflags} ${configure.cc_archflags}" \
CPPFLAGS="${configure.cppflags}" \
- CXX=${configure.cxx} \
CXXFLAGS="${configure.cxxflags} ${configure.cxx_archflags}" \
LDFLAGS="${configure.ldflags} ${configure.ld_archflags}"
+ build.env-append CC=${configure.cc} \
+ CXX=${configure.cxx}
}
post-destroot {
Modified: trunk/dports/net/pure-sockets/Portfile
===================================================================
--- trunk/dports/net/pure-sockets/Portfile 2013-09-20 05:30:25 UTC (rev 111393)
+++ trunk/dports/net/pure-sockets/Portfile 2013-09-20 07:24:36 UTC (rev 111394)
@@ -22,3 +22,5 @@
checksums rmd160 e9885c2b0a3d8a102af6cd872ce63d37993bee30 \
sha256 e88620405d09168b416fd129f7e96e1477f8eff907e47f29fa7366c6795b5302
+
+patchfiles patch-Makefile.diff
Added: trunk/dports/net/pure-sockets/files/patch-Makefile.diff
===================================================================
--- trunk/dports/net/pure-sockets/files/patch-Makefile.diff (rev 0)
+++ trunk/dports/net/pure-sockets/files/patch-Makefile.diff 2013-09-20 07:24:36 UTC (rev 111394)
@@ -0,0 +1,12 @@
+https://bitbucket.org/purelang/pure-lang/issue/14/pure-sockets-makefile-overrides-cc-and-cxx
+--- Makefile.orig 2011-10-20 04:05:11.000000000 -0500
++++ Makefile 2013-09-20 02:11:24.000000000 -0500
+@@ -52,8 +52,6 @@
+
+ # The stuff below is pretty generic.
+
+-CC = gcc
+-CXX = g++
+
+ CFLAGS = -g -O2
+ CXXFLAGS = -g -O2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130920/08925c17/attachment-0001.html>
More information about the macports-changes
mailing list