Ticket #53136: Portfile-emacs.diff

File Portfile-emacs.diff, 997 bytes (added by little-big-h, 7 years ago)
  • Portfile

    old new  
    9595    xinstall -d ${destroot}${prefix}/share/emacs/${version}/leim
    9696    delete ${destroot}${prefix}/bin/ctags
    9797    delete ${destroot}${prefix}/share/man/man1/ctags.1.gz
     98    if {[variant_isset modules]} {
     99        xinstall -m 755 -d ${destroot}${prefix}/include/emacs
     100        xinstall -m 644 ${worksrcpath}/src/emacs-module.h \
     101            ${destroot}${prefix}/include/emacs
     102    }
     103}
     104
     105variant modules description {compile with dynamic modules support} {
     106    configure.args-append  --with-modules
    98107}
    99108
    100109
     
    109118                            --with-gif \
    110119                            --with-png \
    111120                            --without-rsvg \
    112                             --with-xft 
     121                            --with-xft
    113122    depends_lib-append      port:xorg-libXmu \
    114123                            port:xorg-libXaw \
    115124                            port:xpm \