Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Nov 2004 01:54:34 +0100 (CET)
From:      Roman Neuhauser <neuhauser@chello.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/73754: "make search cat=foo" doesn't work
Message-ID:  <20041110005434.7EDB21F87BED@smradoch.ath.cx>
Resent-Message-ID: <200411100100.iAA10pos042968@freefall.freebsd.org>

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

>Number:         73754
>Category:       ports
>Synopsis:       "make search cat=foo" doesn't work
>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:   Wed Nov 10 01:00:51 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Roman Neuhauser
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD isis.wad.cz 4.10-STABLE FreeBSD 4.10-STABLE #3: Sat Aug 7 16:06:48 CEST 2004 roman@isis.wad.cz:/usr/obj/usr/src/sys/FREEPUPPY2_6 i386


	
>Description:
(I wrote the code in question)

The search target in Mk/bsd.port.subdir.mk contains a small bug which
prevents the user from searching based on category (cat/xcat) alone.
>How-To-Repeat:
make search cat=perl
>Fix:

	

--- Mk::bsd.port.subdir.mk.search-cat.patch begins here ---
Index: Mk/bsd.port.subdir.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.port.subdir.mk,v
retrieving revision 1.55
diff -u -r1.55 bsd.port.subdir.mk
--- Mk/bsd.port.subdir.mk	14 Jul 2004 08:18:16 -0000	1.55
+++ Mk/bsd.port.subdir.mk	10 Nov 2004 00:46:16 -0000
@@ -332,6 +332,7 @@
 	     -z "$$path"  -a -z "$$xpath"  -a \
 	     -z "$$info"  -a -z "$$xinfo"  -a \
 	     -z "$$maint" -a -z "$$xmaint" -a \
+	     -z "$$cat"   -a -z "$$xcat"   -a \
 	     -z "$$bdeps" -a -z "$$xbdeps" -a \
 	     -z "$$rdeps" -a -z "$$xrdeps" ]; \
 	then \
--- Mk::bsd.port.subdir.mk.search-cat.patch ends here ---


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



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