[67187] trunk/dports/lang/chicken
ryandesign at macports.org
ryandesign at macports.org
Fri Apr 30 22:54:18 PDT 2010
Revision: 67187
http://trac.macports.org/changeset/67187
Author: ryandesign at macports.org
Date: 2010-04-30 22:54:11 -0700 (Fri, 30 Apr 2010)
Log Message:
-----------
chicken: update to 4.4.0; see #20029
Modified Paths:
--------------
trunk/dports/lang/chicken/Portfile
Added Paths:
-----------
trunk/dports/lang/chicken/files/
trunk/dports/lang/chicken/files/patch-Makefile.macosx
Modified: trunk/dports/lang/chicken/Portfile
===================================================================
--- trunk/dports/lang/chicken/Portfile 2010-05-01 03:47:47 UTC (rev 67186)
+++ trunk/dports/lang/chicken/Portfile 2010-05-01 05:54:11 UTC (rev 67187)
@@ -2,7 +2,7 @@
PortSystem 1.0
name chicken
-version 3.4.0
+version 4.4.0
categories lang scheme
maintainers gmail.com:arto.bendiken waqar gmail.com:ivan.g.raikov
description Compiler for the Scheme programming language
@@ -14,18 +14,21 @@
homepage http://www.call-with-current-continuation.org/
platforms darwin
master_sites http://chicken.wiki.br/releases/${version}
-distfiles ${distname}${extract.suffix}
-checksums md5 9299e9daa9c39cbd391975ce5e5aa7d9\
- sha1 6a73186eb01e2aa952056cf2ccb8fa136f9fab4e\
- rmd160 e28808de5408753df1e0b050dcac19f540567f13
-configure {
- reinplace "s|C_COMPILER ?= gcc|C_COMPILER ?= ${configure.cc}|" ${worksrcpath}/defaults.make
- reinplace "s|CXX_COMPILER ?= g++|C_COMPILER ?= ${configure.cxx}|" ${worksrcpath}/defaults.make
+
+checksums md5 598e7ea036807a67297c3e2bf4a454c4 \
+ sha1 509b8480919e8b888caa4074de8042bcbd7ce6fb \
+ rmd160 d169632f3683e6b85515d74fee2d43c3acf2e5b2
+
+patchfiles patch-Makefile.macosx
+
+use_configure no
+
+build.args C_COMPILER=${configure.cc} \
+ PLATFORM=macosx \
+ PREFIX=${prefix}
+
+if {"x86_64" == ${configure.build_arch}} {
+ build.args-append ARCH=x86-64
}
-pre-build {
- system "cd ${worksrcpath} && ${build.cmd} ${build.args} bootstrap"
-}
-build.args PLATFORM=macosx PREFIX=${prefix}
-build.post_args CHICKEN=./chicken-boot
-use_parallel_build yes
-destroot.args PLATFORM=macosx PREFIX=${prefix}
+
+destroot.args ${build.args}
Added: trunk/dports/lang/chicken/files/patch-Makefile.macosx
===================================================================
--- trunk/dports/lang/chicken/files/patch-Makefile.macosx (rev 0)
+++ trunk/dports/lang/chicken/files/patch-Makefile.macosx 2010-05-01 05:54:11 UTC (rev 67187)
@@ -0,0 +1,11 @@
+--- Makefile.macosx.orig 2010-03-08 19:15:30.000000000 -0600
++++ Makefile.macosx 2010-05-01 00:46:52.000000000 -0500
+@@ -51,7 +51,7 @@
+ C_COMPILER_OPTIMIZATION_OPTIONS ?= -Os -fomit-frame-pointer
+ endif
+ endif
+-LINKER_LINK_SHARED_LIBRARY_OPTIONS = -dynamiclib -compatibility_version 1 -current_version 1.0 -install_name $@
++LINKER_LINK_SHARED_LIBRARY_OPTIONS = -dynamiclib -compatibility_version 1 -current_version 1.0 -install_name $(LIBDIR)/$@
+ POSTINSTALL_PROGRAM_FLAGS = -change libchicken$(SO) $(LIBDIR)/libchicken$(SO)
+ LIBRARIAN_OPTIONS = scru
+ LINKER_LINK_SHARED_DLOADABLE_OPTIONS = -bundle -L.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100430/753327f7/attachment-0001.html>
More information about the macports-changes
mailing list