Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Mar 2003 05:31:28 +0100 (CET)
From:      dirk.meyer@dinoex.sub.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48860: wrond dependency in bsd.port.mk
Message-ID:  <200303030431.h234VSXP035377@home.dinoex.sub.de>

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

>Number:         48860
>Category:       ports
>Synopsis:       wrond dependency in bsd.port.mk
>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:   Sun Mar 02 20:40:10 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Meyer
>Release:        FreeBSD 4.8-PRERELEASE i386
>Organization:
privat
>Environment:

>Description:

	some ports like ruby reporting false dependedencies.
	ruby has bzip2 in its FETCH_DEPENDS by bsd.port.mk

>How-To-Repeat:

	$ cd /usr/ports/lang/ruby_r && make all-depends-list
/usr/ports/archivers/bzip2
/usr/ports/lang/ruby_r/../ruby

>Fix:

	apply this patch:

Index: bsd.port.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.441
diff -u -r1.441 bsd.port.mk
--- bsd.port.mk	2 Mar 2003 02:06:56 -0000	1.441
+++ bsd.port.mk	3 Mar 2003 04:09:11 -0000
@@ -1056,7 +1056,7 @@
 .endif
 
 .if defined(PATCHFILES)
-.if ${PATCHFILES:M*.bz2}x != x
+.if ${PATCHFILES:M*.bz2}x != x && !exists(/usr/bin/bzip2)
 PATCH_DEPENDS+=		bzip2:${PORTSDIR}/archivers/bzip2
 .endif
 .if ${PATCHFILES:M*.zip}x != x
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




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