Date: Tue, 19 Nov 2002 19:06:31 +0900 From: SADA Kenji <sada@FreeBSD.org> To: Akinori MUSHA <knu@FreeBSD.org>, 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 18 Nov 2002 01:42:27 -0800 (PST) Akinori MUSHA <knu@FreeBSD.org> 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 <sada@FreeBSD.org> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021119190631.0a2edcc3.sada>