Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jun 2006 12:52:53 +0300
From:      "Ion-Mihai "IOnut" Tetcu" <itetcu@FreeBSD.org>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/98977: [PATCH] misc/tinderbox: don't depend on net/csup if it's already in base
Message-ID:  <1150365173.52349@it.buh.tecnik93.com>
Resent-Message-ID: <200606151000.k5FA0YB7094019@freefall.freebsd.org>

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

>Number:         98977
>Category:       ports
>Synopsis:       [PATCH] misc/tinderbox: don't depend on net/csup if it's already in base
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 15 10:00:34 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Ion-Mihai "IOnut" Tetcu
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
Tecnik'93 
>Environment:


System: FreeBSD 6.1-STABLE #5: Fri Jun  9 11:15:37 EEST 2006
    root@it.buh.tecnik93.com:/usr/obj/usr/src/sys/IT6_U_P



>Description:


From: Dmitry Morozovsky <marck@rinet.ru>:

upgrading the tinderbox I've seen a glitch with csup:

> Stale dependency: tinderbox-2.3.1 --> csup-20060313 -- manually run 'pkgdb 
-F' to fix, or specify -O to force.

.if defined(WITH_CSUP)
RUN_DEPENDS+=   csup:${PORTSDIR}/net/csup
.endif

But current after 2006/03/14 and RELENG_6 after 2006/05/15 (revisions 1.3 and 
1.3.2.1 of src/usr.bin/M<akefile respectively) has csup included in base system


>How-To-Repeat:





>Fix:


--- ports_tinderbox.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/misc/tinderbox/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile	11 Jun 2006 22:45:36 -0000	1.16
+++ Makefile	15 Jun 2006 09:50:30 -0000
@@ -50,8 +50,10 @@
 .endif
 
 .if defined(WITH_CSUP)
+.if ! exists(/usr/bin/csup)
 RUN_DEPENDS+=	csup:${PORTSDIR}/net/csup
 .endif
+.endif
 
 .if defined(WITH_CVSUP)
 RUN_DEPENDS+=	cvsup:${PORTSDIR}/net/cvsup-without-gui
--- ports_tinderbox.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



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