From owner-freebsd-ports Sat Mar 16 19:52:24 2002 Delivered-To: freebsd-ports@freebsd.org Received: from wwweasel.geeksrus.net (wwweasel.geeksrus.net [64.8.210.226]) by hub.freebsd.org (Postfix) with ESMTP id C977137B402 for ; Sat, 16 Mar 2002 19:52:20 -0800 (PST) Received: (from alane@localhost) by wwweasel.geeksrus.net (8.11.6/8.11.6) id g2H3pap16585; Sat, 16 Mar 2002 22:51:36 -0500 (EST) (envelope-from alane) Message-Id: <200203170351.g2H3pap16585@wwweasel.geeksrus.net> Content-Type: text/plain; charset="iso-8859-1" From: Alan E Organization: Geeksrus.NET To: Kris Kennaway Subject: Re: cvs commit: ports/x11/XFree86-4 Makefile Makefile.man pkg-plist pkg-plist.alpha pkg-plist.pc98 ports/x11/XFree86-4/files patch-2 patch-c patch-c2 patch-d patch-f patch-i810 patch-j patch-k patch-mouse patch-r128 patch-r128dri patch-r128xmesa patch-shm ... Date: Sat, 16 Mar 2002 22:51:35 -0500 X-Mailer: KMail [version 1.3.2] References: <200203162343.g2GNhjs90185@freefall.freebsd.org> <20020317022158.GK53073@squall.waterspout.com> <20020316192310.A16745@xor.obsecurity.org> In-Reply-To: <20020316192310.A16745@xor.obsecurity.org> Cc: FreeBSD ports list , Will Andrews MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Saturday 16 March 2002 22:23, you wrote: > I don't know the details of how the subports build only the relevant > bits, so you might also need a cleanup step as well to normalize the > contents of that WRKSRC. Eeewwww. Ugly Imake voodoo, together with very careful munging of the values that go into xf86site.def, IIRC. The generated Makefile at the top level might have a 'something-clean'-type target to do it. I wouldn't trust trying to do it outside of the XFree86 make framework though (i.e., manually). > Or you could just force the subports to do 'make clean' after > building, which would be less efficient than preserving the extracted > source, but possibly less fragile. At what point do you do that? It can't be a post-install: target, or you'll break 'make reinstall' and 'make package'. That is, at what point can you assume the user is done, and yet have that point be guaranteed to be reached? I think it's impossible. You could do a pre-extract: to make clean, I guess, but that only makes sense if they all use a common work dir. That is, you could do: WRKDIR!= cd ${PORTSDIR}/x11/XFree86-4 && make -V WRKDIR pre-extract: ${RM} -fr ${WRKDIR} ${MKDIR} ${WRKDIR} What are you reactions to that idea? (Please, no explicit references to evacuative bodily functions.) -- AlanE "When the going gets tough, the weird turn pro." - HST To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message