[33954] trunk/dports/lang/sbcl
waqar at macports.org
waqar at macports.org
Fri Feb 8 08:22:30 PST 2008
Revision: 33954
http://trac.macosforge.org/projects/macports/changeset/33954
Author: waqar at macports.org
Date: 2008-02-08 08:22:20 -0800 (Fri, 08 Feb 2008)
Log Message:
-----------
Fixed to appease the lint.
Modified Paths:
--------------
trunk/dports/lang/sbcl/Portfile
Added Paths:
-----------
trunk/dports/lang/sbcl/files/patch-base-target-features.diff
trunk/dports/lang/sbcl/files/patch-use-mach-exception-handler.diff
Removed Paths:
-------------
trunk/dports/lang/sbcl/files/base-target-features.patch
trunk/dports/lang/sbcl/files/use-mach-exception-handler.patch
Modified: trunk/dports/lang/sbcl/Portfile
===================================================================
--- trunk/dports/lang/sbcl/Portfile 2008-02-08 15:27:53 UTC (rev 33953)
+++ trunk/dports/lang/sbcl/Portfile 2008-02-08 16:22:20 UTC (rev 33954)
@@ -1,9 +1,11 @@
# $Id$
PortSystem 1.0
+
name sbcl
version 1.0.14
set bootversion 0.9.16
+revision 1
categories lang
maintainers gwright at macports.org waqar at macports.org
platforms darwin
@@ -20,7 +22,7 @@
master_sites sourceforge
use_bzip2 yes
-platform powerpc {
+platform powerpc {
set bootversion 0.9.15
distfiles-append ${name}-${bootversion}-powerpc-darwin-binary${extract.suffix}
checksums-append ${name}-${bootversion}-powerpc-darwin-binary${extract.suffix} \
@@ -39,7 +41,8 @@
set host_lisp "\"${workpath}/${name}-${bootversion}-x86-darwin/src/runtime/sbcl --core ${workpath}/${name}-${bootversion}-x86-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null\" "
}
-patchfiles use-mach-exception-handler.patch
+patchfiles patch-use-mach-exception-handler.diff
+
distfiles ${name}-${version}-source${extract.suffix}
@@ -47,35 +50,38 @@
worksrcdir ${name}-${version}
checksums ${name}-${version}-source${extract.suffix} \
- md5 07fd7e865fb6052a82e1efc3f4b9899e \
- sha1 e3fc5431fc65637857d23ef539ac8729530aaec7 \
+ md5 07fd7e865fb6052a82e1efc3f4b9899e \
+ sha1 e3fc5431fc65637857d23ef539ac8729530aaec7 \
rmd160 546663988c3dc01edd8afe276baf8b2db693e125
-post-patch { reinplace "s|/usr/local/lib/${name}|${prefix}/lib/${name}|g" \
+post-patch {
+ reinplace "s|/usr/local/lib/${name}|${prefix}/lib/${name}|g" \
${worksrcpath}/src/runtime/runtime.c
- reinplace "s|/usr/local/lib/${name}|${prefix}/lib/${name}|g" \
+ reinplace "s|/usr/local/lib/${name}|${prefix}/lib/${name}|g" \
${worksrcpath}/doc/sbcl.1
- }
+}
use_configure no
-build { system "ulimit -s 8192"
- system "unset LD_PREBIND && unset LD_PREBIND_ALLOW_OVERLAP && sh make.sh ${host_lisp}"
- }
+build {
+ system "ulimit -s 8192"
+ system "unset LD_PREBIND && unset LD_PREBIND_ALLOW_OVERLAP && sh make.sh ${host_lisp}"
+}
default_variants +test
-variant test { test.run yes
- test.dir ${worksrcpath}/tests
- test.cmd sh
- test.target run-tests.sh
- }
+variant test {
+ test.run yes
+ test.dir ${worksrcpath}/tests
+ test.cmd sh
+ test.target run-tests.sh
+}
destroot { system "cd ${worksrcpath}; INSTALL_ROOT=${destroot}/${prefix} sh ${worksrcpath}/install.sh"
- }
+}
variant threads {
- patchfiles-append base-target-features.patch
+ patchfiles-append patch-base-target-features.diff
}
Deleted: trunk/dports/lang/sbcl/files/base-target-features.patch
===================================================================
--- trunk/dports/lang/sbcl/files/base-target-features.patch 2008-02-08 15:27:53 UTC (rev 33953)
+++ trunk/dports/lang/sbcl/files/base-target-features.patch 2008-02-08 16:22:20 UTC (rev 33954)
@@ -1,26 +0,0 @@
---- base-target-features.lisp-expr.orig 2007-10-16 16:34:50.000000000 -0600
-+++ base-target-features.lisp-expr 2007-10-16 16:35:26.000000000 -0600
-@@ -157,7 +157,7 @@
- ;; and the %fs segment register. Note that no consistent effort to
- ;; audit the SBCL library code for thread safety has been performed,
- ;; so caveat executor.
-- ; :sb-thread
-+:sb-thread
-
- ;; lutex support
- ;;
-@@ -167,7 +167,7 @@
- ;; allows for sb-thread support on x86 OS X, Solaris and
- ;; FreeBSD.
- ;;
-- ; :sb-lutex
-+:sb-lutex
-
- ;; On some operating systems the FS segment register (used for SBCL's
- ;; thread local storage) is not reliably preserved in signal
-@@ -337,4 +337,5 @@
- ;; (No others are supported by SBCL as of 1.0.8, but :hpux or :irix
- ;; support could be ported from CMU CL if anyone is sufficiently
- ;; motivated to do so.)
-+:darwin
- )
Copied: trunk/dports/lang/sbcl/files/patch-base-target-features.diff (from rev 33935, trunk/dports/lang/sbcl/files/base-target-features.patch)
===================================================================
--- trunk/dports/lang/sbcl/files/patch-base-target-features.diff (rev 0)
+++ trunk/dports/lang/sbcl/files/patch-base-target-features.diff 2008-02-08 16:22:20 UTC (rev 33954)
@@ -0,0 +1,26 @@
+--- base-target-features.lisp-expr.orig 2007-10-16 16:34:50.000000000 -0600
++++ base-target-features.lisp-expr 2007-10-16 16:35:26.000000000 -0600
+@@ -157,7 +157,7 @@
+ ;; and the %fs segment register. Note that no consistent effort to
+ ;; audit the SBCL library code for thread safety has been performed,
+ ;; so caveat executor.
+- ; :sb-thread
++:sb-thread
+
+ ;; lutex support
+ ;;
+@@ -167,7 +167,7 @@
+ ;; allows for sb-thread support on x86 OS X, Solaris and
+ ;; FreeBSD.
+ ;;
+- ; :sb-lutex
++:sb-lutex
+
+ ;; On some operating systems the FS segment register (used for SBCL's
+ ;; thread local storage) is not reliably preserved in signal
+@@ -337,4 +337,5 @@
+ ;; (No others are supported by SBCL as of 1.0.8, but :hpux or :irix
+ ;; support could be ported from CMU CL if anyone is sufficiently
+ ;; motivated to do so.)
++:darwin
+ )
Copied: trunk/dports/lang/sbcl/files/patch-use-mach-exception-handler.diff (from rev 33935, trunk/dports/lang/sbcl/files/use-mach-exception-handler.patch)
===================================================================
--- trunk/dports/lang/sbcl/files/patch-use-mach-exception-handler.diff (rev 0)
+++ trunk/dports/lang/sbcl/files/patch-use-mach-exception-handler.diff 2008-02-08 16:22:20 UTC (rev 33954)
@@ -0,0 +1,9 @@
+Index: sbcl-1.0.3/customize-target-features.lisp
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ customize-target-features.lisp 2007-03-20 18:25:05.000000000 -0400
+@@ -0,0 +1,4 @@
++(lambda (list)
++ (if (and (member :x86 list) (member :darwin list))
++ (pushnew :mach-exception-handler list))
++ list)
Deleted: trunk/dports/lang/sbcl/files/use-mach-exception-handler.patch
===================================================================
--- trunk/dports/lang/sbcl/files/use-mach-exception-handler.patch 2008-02-08 15:27:53 UTC (rev 33953)
+++ trunk/dports/lang/sbcl/files/use-mach-exception-handler.patch 2008-02-08 16:22:20 UTC (rev 33954)
@@ -1,9 +0,0 @@
-Index: sbcl-1.0.3/customize-target-features.lisp
-===================================================================
---- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ customize-target-features.lisp 2007-03-20 18:25:05.000000000 -0400
-@@ -0,0 +1,4 @@
-+(lambda (list)
-+ (if (and (member :x86 list) (member :darwin list))
-+ (pushnew :mach-exception-handler list))
-+ list)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080208/94ce027d/attachment.html
More information about the macports-changes
mailing list