New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 81852


Ignore:
Timestamp:
08/05/11 20:28:51 (4 years ago)
Author:
dports@…
Message:

dbus: disable tests unless the +test variant is specified, because the
tests link against dbus-glib which depends on this port. Fixes
universal build when non-universal dbus-glib is installed (#30088; see
also #30409)

File:
1 edited

Legend:

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

    r81750 r81852  
    4444                --with-launchd-agent-dir=${prefix}/Library/LaunchAgents \ 
    4545                --with-session-socket-dir=/tmp \ 
    46                 --with-test-socket-dir=/tmp 
     46                --with-test-socket-dir=/tmp \ 
     47                --disable-tests 
    4748 
    4849pre-configure { 
     
    6162    } 
    6263} 
    63  
    64 platform darwin 11 { 
    65     configure.args-append    --disable-tests 
    66 } 
    67  
    6864 
    6965use_parallel_build  yes 
     
    167163} 
    168164 
     165# XXX Building with tests enabled causes dbus to link with dbus-glib, 
     166# which it shouldn't do because that port depends on this one: see #30088 
    169167variant test description {enable tests} { 
     168    configure.args-delete   --disable-tests 
    170169    configure.args-append   --enable-tests 
    171170} 
Note: See TracChangeset for help on using the changeset viewer.