Ticket #42705: slime-portfile-select-emacs.diff

File slime-portfile-select-emacs.diff, 903 bytes (added by daitakahashi, 11 years ago)

patch that revives slime_emacs_binary

  • Portfile

     
    3737use_configure   no
    3838depends_lib     port:emacs
    3939
     40set slime_emacs_binary "${prefix}/bin/emacs"
     41
    4042variant app description "Build SLIME against editors/emacs-app" {
    4143    depends_run-append port:emacs-app
    4244    depends_run-delete port:emacs
    4345    depends_lib-append port:emacs-app
    4446    depends_lib-delete port:emacs
     47
     48    set slime_emacs_binary "${applications_dir}/Emacs.app/Contents/MacOS/Emacs"
    4549}
    4650
    4751variant sbcl description "Require lang/sbcl for SLIME" {
     
    7377set slime_site_lisp_contrib_dir "${slime_site_lisp_dir}/contrib"
    7478
    7579build {
    76     system "cd ${worksrcpath} && make compile"
     80    system "cd ${worksrcpath} && make compile EMACS=\"$slime_emacs_binary\""
    7781    system "cd ${worksrcpath}/doc && make slime.info"
    7882}
    7983