Ticket #1533: emacs-fixes.diff

File emacs-fixes.diff, 876 bytes (added by danchr@…, 20 years ago)

Fix X11 compilation & add new GTK+ variant

  • Portfile

    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/editors/emacs/Portfile,v
    retrieving revision 1.32
    diff -a -u -u -r1.32 Portfile
     
    4949}
    5050
    5151variant x11 {
    52         configure.args --with-x --with-x-toolkit=lucid --with-xpm=no --disable-carbon
     52        configure.args --with-x --with-x-toolkit=lucid --without-carbon \
     53                       --with-xpm --with-jpeg --with-tiff --with-gif --with-png
     54        depends_lib-append  lib:libX11:XFree86 lib:libXpm:XFree86 \
     55                            lib:libjpeg:jpeg lib:libtiff:tiff \
     56                            lib:libungif:ungif lib:libpng:libpng
     57}
     58
     59variant gtk requires devel x11 {
     60        configure.args-append --with-x-toolkit=gtk
     61        depends_lib-append  lib:libgtk.2:gtk2 lib:libglib.2:glib2
    5362}
    5463
    5564# Overrides darwin