From owner-cvs-all Tue Nov 19 2: 6:36 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73C8A37B413; Tue, 19 Nov 2002 02:06:34 -0800 (PST) Received: from vcksi2.nw.wakwak.com (vcksi2.nw.wakwak.com [211.132.128.145]) by mx1.FreeBSD.org (Postfix) with SMTP id 5019A43E75; Tue, 19 Nov 2002 02:06:33 -0800 (PST) (envelope-from sada@FreeBSD.org) Received: from bf.wakwak.com (bf.wakwak.com [211.132.128.101:25]) by vcksi2.nw.wakwak.com (Postfix) with ESMTP id 4888040029; Tue, 19 Nov 2002 19:06:32 +0900 (JST) Received: from polus.lan (sada.as.wakwak.ne.jp [61.115.78.20]) by bf.wakwak.com (8.12.6/8.12.6/2002-09-12) with SMTP id gAJA6VsX046593; Tue, 19 Nov 2002 19:06:31 +0900 (JST) (envelope-from sada@FreeBSD.org) Date: Tue, 19 Nov 2002 19:06:31 +0900 From: SADA Kenji To: Akinori MUSHA , portmgr@FreeBSD.org Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/finance Makefile ports/hungarian Makefile ports/multimedia Makefile ports/portuguese Makefile Message-Id: <20021119190631.0a2edcc3.sada@FreeBSD.org> In-Reply-To: <200211180942.gAI9gR0C075570@repoman.freebsd.org> References: <200211180942.gAI9gR0C075570@repoman.freebsd.org> Organization: Private X-Mailer: Sylpheed version 0.8.5 (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 18 Nov 2002 01:42:27 -0800 (PST) Akinori MUSHA wrote: > Log: > Add several new real categories. > > - finance : Monetary, financial and related applications Looks a port category which has empty SUBDIR crushes "make describe" and others. How about a guard like this. -- Index: bsd.port.subdir.mk =================================================================== RCS file: /freebsd/ncvs/ports/Mk/bsd.port.subdir.mk,v retrieving revision 1.44 diff -u -r1.44 bsd.port.subdir.mk --- bsd.port.subdir.mk 3 Sep 2002 09:08:28 -0000 1.44 +++ bsd.port.subdir.mk 19 Nov 2002 10:03:04 -0000 @@ -96,10 +96,16 @@ .for __target in ${TARGETS} .if !target(${__target}) +.if empty(SUBDIR) +${__target}: +.else ${__target}: ${SUBDIR:S/$/.${__target}/} .endif +.endif .endfor +.if !empty(SUBDIR) + .for __target in ${TARGETS} checksubdirs readmes ${SUBDIR:S/$/.${__target}/}: _SUBDIRUSE .endfor @@ -128,6 +134,8 @@ fi ${SUBDIR}:: ${SUBDIR:S/$/.all/} + +.endif .if !target(install) .if !target(beforeinstall) -- SADA Kenji To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message