From nobody@FreeBSD.org  Thu May 12 21:15:38 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 2C696106567C
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 May 2011 21:15:38 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 1C8108FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 May 2011 21:15:38 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p4CLFbW7015643
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 May 2011 21:15:37 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p4CLFbKm015642;
	Thu, 12 May 2011 21:15:37 GMT
	(envelope-from nobody)
Message-Id: <201105122115.p4CLFbKm015642@red.freebsd.org>
Date: Thu, 12 May 2011 21:15:37 GMT
From: David Naylor <naylor.b.david@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] devel/dbus: fix build in dirty environment
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         156986
>Category:       ports
>Synopsis:       [patch] devel/dbus: fix build in dirty environment
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 12 21:20:08 UTC 2011
>Closed-Date:    Sat Jun 04 22:35:39 UTC 2011
>Last-Modified:  Sat Jun 04 22:35:39 UTC 2011
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->gnome 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu May 12 21:20:17 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=156986 
State-Changed-From-To: open->closed 
State-Changed-By: mezz 
State-Changed-When: Sat Jun 4 22:35:26 UTC 2011 
State-Changed-Why:  
Nothing we can do with it. You will have to ask to the autoconf developer 
as it comes from libs.m4 and maybe more *.m4 files. It means that hundreds 
of tarballs have same thing. Meaning time, you can install it with 
WITHOUT_X11=yes if it still bothers you. 

As for the build failure. You will need to provide us the details such as 
error outputs and http://www.freebsd.org/gnome/docs/bugging.html . After 
that, feel free to open a new PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=156986 
>Unformatted:
