ports/73754: "make search cat=foo" doesn't work

Roman Neuhauser neuhauser at chello.cz
Wed Nov 10 01:00:56 UTC 2004

>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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 10 01:00:51 GMT 2004
>Originator:     Roman Neuhauser
>Release:        FreeBSD 4.10-STABLE i386
System: FreeBSD isis.wad.cz 4.10-STABLE FreeBSD 4.10-STABLE #3: Sat Aug 7 16:06:48 CEST 2004 roman at isis.wad.cz:/usr/obj/usr/src/sys/FREEPUPPY2_6 i386

(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.
make search cat=perl


--- 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 ---


More information about the freebsd-ports-bugs mailing list