Date: Mon, 18 Dec 1995 05:41:09 -0800 From: Josh MacDonald <jmacd@cory.EECS.Berkeley.EDU> To: ports@freebsd.org Subject: bsd.port.subdir.mk Message-ID: <199512181341.FAA13166@cory.EECS.Berkeley.EDU>
next in thread | raw e-mail | index | archive | help
this annoys me every time I make clean in the ports tree because I don't have two of the subdirs present, japanese and russion, but bsd.port.subdir.mk doesn't check the existence of a subdirectory before it tries to make in it. I sup the ports collection and get the ports-base collection, and don't get the two named above, so I have a Makefile with all the subdirs in it, which I can edit, which as I said, annoys me, or I can make -k. I figure a missing subdirectory shouldn't be cause for an error, so might not the following patch be useful? It ignores subdirectories that don't exist. I can commit if so, but figure it might be better if Satoshi or sometone does. -josh 30c30 < else if test -d ${.CURDIR}/$${entry}; then \ --- > else \ 34,35c34 < fi; \ < fi;\ --- > fi; \ begin 644 bsd.port.subdir.mk.diff M,S!C,S`*/"`)"0EE;'-E(&EF('1E<W0@+60@)'LN0U521$E2?2\D)'ME;G1R M>7T[('1H96X@7`HM+2T*/B`)"0EE;'-E(%P*,S0L,S5C,S0*/"`)"0D@("`@ @(&9I.R!<"CP@"0D)9FD[7`HM+2T*/B`)"0EF:3L@7`IC ` end
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512181341.FAA13166>