Revision: 117550 https://trac.macports.org/changeset/117550 Author: easieste@macports.org Date: 2014-03-03 08:23:52 -0800 (Mon, 03 Mar 2014) Log Message: ----------- lang/slime: choose the right Emacs to byte-compile SLIME. dtakahashi42 notes: SLIME's makefile implicitly uses emacs on the search path. However, emacs-app installs its binary outside of the search path ({{{${applications_dir}/Emacs.app/Contents/MacOS/Emacs}}}), so that the system's emacs (very old!) is selected and fail to compile slime. Modified Paths: -------------- trunk/dports/lang/slime/Portfile Modified: trunk/dports/lang/slime/Portfile =================================================================== --- trunk/dports/lang/slime/Portfile 2014-03-03 16:14:46 UTC (rev 117549) +++ trunk/dports/lang/slime/Portfile 2014-03-03 16:23:52 UTC (rev 117550) @@ -6,7 +6,7 @@ name slime version 20140226 epoch 20140226 -revision 0 +revision 1 categories lang platforms darwin license Permissive @@ -37,11 +37,15 @@ use_configure no depends_lib port:emacs +set slime_emacs_binary "${prefix}/bin/emacs" + variant app description "Build SLIME against editors/emacs-app" { depends_run-append port:emacs-app depends_run-delete port:emacs depends_lib-append port:emacs-app depends_lib-delete port:emacs + + set slime_emacs_binary "${applications_dir}/Emacs.app/Contents/MacOS/Emacs" } variant sbcl description "Require lang/sbcl for SLIME" { @@ -73,7 +77,7 @@ set slime_site_lisp_contrib_dir "${slime_site_lisp_dir}/contrib" build { - system "cd ${worksrcpath} && make compile" + system "cd ${worksrcpath} && make compile EMACS=\"$slime_emacs_binary\"" system "cd ${worksrcpath}/doc && make slime.info" }
participants (1)
-
easieste@macports.org