Date: Thu, 12 May 2011 21:15:37 GMT From: David Naylor <naylor.b.david@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/156986: [patch] devel/dbus: fix build in dirty environment Message-ID: <201105122115.p4CLFbKm015642@red.freebsd.org> Resent-Message-ID: <201105122120.p4CLK8xC090811@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 156986 >Category: ports >Synopsis: [patch] devel/dbus: fix build in dirty environment >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 12 21:20:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: David Naylor >Release: FreeBSD-current >Organization: Private >Environment: >Description: If libICE is installed then dbus tries to link against libSM (which may not be installed). As a result dbus fails to compile. Also there does not appear to be any reason why dbus needs to link against libICE or libSM under FreeBSD (except configure being overly eager). >How-To-Repeat: Install x11/libICE and compile devel/dbus. >Fix: See attached for patch Patch attached with submission follows: --- configure~ 2011-05-12 22:48:15.000000000 +0200 +++ configure 2011-05-12 22:50:47.000000000 +0200 @@ -19412,7 +19412,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then : - X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" + #X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" fi LDFLAGS=$ac_save_LDFLAGS >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105122115.p4CLFbKm015642>