Ticket #42705: slime-portfile-select-emacs.diff
File slime-portfile-select-emacs.diff, 903 bytes (added by daitakahashi, 11 years ago) |
---|
-
Portfile
37 37 use_configure no 38 38 depends_lib port:emacs 39 39 40 set slime_emacs_binary "${prefix}/bin/emacs" 41 40 42 variant app description "Build SLIME against editors/emacs-app" { 41 43 depends_run-append port:emacs-app 42 44 depends_run-delete port:emacs 43 45 depends_lib-append port:emacs-app 44 46 depends_lib-delete port:emacs 47 48 set slime_emacs_binary "${applications_dir}/Emacs.app/Contents/MacOS/Emacs" 45 49 } 46 50 47 51 variant sbcl description "Require lang/sbcl for SLIME" { … … 73 77 set slime_site_lisp_contrib_dir "${slime_site_lisp_dir}/contrib" 74 78 75 79 build { 76 system "cd ${worksrcpath} && make compile "80 system "cd ${worksrcpath} && make compile EMACS=\"$slime_emacs_binary\"" 77 81 system "cd ${worksrcpath}/doc && make slime.info" 78 82 } 79 83