Ignore:
Timestamp:
Jan 18, 2009, 8:52:41 PM (10 years ago)
Author:
jeremyhu@…
Message:

x11 dependent ports: Force port: based X11 dependencies

As mentioned over the past month and a half on macports-dev:
http://lists.macosforge.org/pipermail/macports-dev/2008-December/006818.html
http://lists.macosforge.org/pipermail/macports-dev/2009-January/006870.html
http://lists.macosforge.org/pipermail/macports-dev/2009-January/007003.html

This should address the underlying problem in tickets:
http://trac.macports.org/ticket/17356
http://trac.macports.org/ticket/17558
http://trac.macports.org/ticket/17631

This commit updates all ports explicitly depending on X11. These ports now
explicitly rely on X11 libraries in MacPorts rather than using lib: based
dependencies satisfied by X11 libraries in $x11prefix. The former policy was
devised due to the difficulty of providing such libs easily to the MacPorts
community under the old monolythic X distribution. Due to the X.org project's
transition to the autoconf build system and modularization of the project as
well as the XQuartz projects efforts to make these new releases work on OSX,
MacPorts can now have more control over its offerings and provide users with
better consistency and stability.

Other ports that "inherited" the X11 dependency may still require a revision
bump to link against the new libs. If you find a binary or library linking
against $x11prefix/lib/lib*.dylib after 'sudo port upgrade outdated' (and
you're not using the +system_x11 variant), please report that, so we can get
it fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/libsdl/Portfile

    r45423 r45603  
    66set my_name     SDL
    77version         1.2.13
    8 revision        4
     8revision        5
    99categories      devel multimedia
    1010platforms       macosx freebsd
     
    2828
    2929depends_lib \
    30         lib:libXext.6:xorg-libXext \
    31         lib:libXrandr.2:xorg-libXrandr \
    32         lib:libXrender.1:xrender
     30        port:xorg-libXext \
     31        port:xorg-libXrandr \
     32        port:xrender
    3333
    3434configure.args  --enable-shared \
     
    3939        configure.args-append --without-x
    4040        depends_lib-delete \
    41             lib:libXext.6:xorg-libXext \
    42             lib:libXrandr.2:xorg-libXrandr \
    43             lib:libXrender.1:xrender
     41            port:xorg-libXext \
     42            port:xorg-libXrandr \
     43            port:xrender
    4444}
    4545
Note: See TracChangeset for help on using the changeset viewer.