Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2003 03:16:10 +0200 (CEST)
From:      Frerich Raabe <frerich.raabe@gmx.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53705: Update port: devel/distcc fix for GNOME monitor
Message-ID:  <200306250116.h5P1GAhR031298@frerich.homeip.net>
Resent-Message-ID: <200306250120.h5P1KFOF051860@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         53705
>Category:       ports
>Synopsis:       Update port: devel/distcc fix for GNOME monitor
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 24 18:20:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Frerich Raabe
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD frerich.homeip.net 4.8-STABLE FreeBSD 4.8-STABLE #9: Tue Jun 17 02:28:51 CEST 2003 root@frerich.homeip.net:/usr/obj/usr/src/sys/DAEDALUS i386
>Description:
This patch fixes a bug in the devel/distcc which becomes obvious when
the port gets built without WITHOUT_GNOME, but when HAVE_GNOME returns ""

For a sample log which shows the breakage by this bug, look at
http://bento.freebsd.org/errorlogs/ia64-5-latest/distcc-2.7.log
>How-To-Repeat:
$ cd /usr/ports/devel/distcc
$ make                           # Without having GNOME libraries installed
[..]
===>  Installing for distcc-2.7
install: /tmp/a/ports/devel/distcc/work/distcc-2.7/distccmon-gnome: No such file or directory
*** Error code 71
>Fix:
diff -ruN distcc.orig/Makefile distcc/Makefile
--- distcc.orig/Makefile	Wed Jun 25 03:08:43 2003
+++ distcc/Makefile	Wed Jun 25 03:09:30 2003
@@ -52,7 +52,7 @@
 do-install:
 	@${INSTALL_PROGRAM} ${WRKSRC}/distcc ${PREFIX}/bin
 	@${INSTALL_PROGRAM} ${WRKSRC}/distccmon-text ${PREFIX}/bin
-.if !defined(WITHOUT_GNOME)
+.if !defined(WITHOUT_GNOME) && ${HAVE_GNOME:Mlibgnomeui} != ""
 	@${INSTALL_PROGRAM} ${WRKSRC}/distccmon-gnome ${PREFIX}/bin
 .endif
 	@${INSTALL_PROGRAM} ${WRKSRC}/distccd ${PREFIX}/sbin
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306250116.h5P1GAhR031298>