Ticket #15569: x-includes-libraries.diff

File x-includes-libraries.diff, 2.1 KB (added by david@…, 16 years ago)

Patch to use --x-includes and --x-libraries in certain ports

  • graphics/cairo/Portfile

    diff --unidirectional-new-file -ru -x PortIndex ports.orig/graphics/cairo/Portfile ports/graphics/cairo/Portfile
    old new  
    5858    --enable-xlib-xrender \
    5959    --with-x
    6060
     61configure.args-append  --x-includes=${x11prefix}/include --x-libraries=${x11prefix}/lib
     62
    6163variant glitz conflicts no_x11 description {Add glitz graphics interface} {
    6264    depends_lib-append \
    6365        port:glitz
  • x11/gtk2/Portfile

    diff --unidirectional-new-file -ru -x PortIndex ports.orig/x11/gtk2/Portfile ports/x11/gtk2/Portfile
    old new  
    7979                --disable-glibtest \
    8080                --with-included-loaders
    8181
     82configure.args-append       --x-includes=${x11prefix}/include --x-libraries=${x11prefix}/lib
     83
    8284configure.ccache            no
    8385configure.cppflags-append   -no-cpp-precomp -DX_LOCALE
    8486configure.cflags-append     -funroll-loops -fstrict-aliasing
  • x11/pango/Portfile

    diff --unidirectional-new-file -ru -x PortIndex ports.orig/x11/pango/Portfile ports/x11/pango/Portfile
    old new  
    4747    --enable-static \
    4848    --enable-cairo
    4949
     50configure.args-append  --x-includes=${x11prefix}/include --x-libraries=${x11prefix}/lib
     51
    5052variant no_x11 description {Disable X11 support} {
    5153    depends_lib-delete \
    5254        lib:libX11.6:XFree86 \
  • x11/xrender/Portfile

    diff --unidirectional-new-file -ru -x PortIndex ports.orig/x11/xrender/Portfile ports/x11/xrender/Portfile
    old new  
    2525depends_lib                     lib:libX11.6:XFree86 \
    2626                                        port:render
    2727
     28configure.args-append   --x-includes=${x11prefix}/include --x-libraries=${x11prefix}/lib
     29
    2830post-patch {
    2931    # Brute-force things into building with the universal LDFLAGS
    3032    if {[variant_isset universal]} {