From owner-freebsd-ports Sun Dec 3 19:28:30 2000 From owner-freebsd-ports@FreeBSD.ORG Sun Dec 3 19:28:28 2000 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from bastuba.partitur.se (bastuba.partitur.se [212.209.169.194]) by hub.freebsd.org (Postfix) with ESMTP id 66B5837B400 for ; Sun, 3 Dec 2000 19:28:27 -0800 (PST) Received: from palle.girgensohn.se (c193.150.250.87.cm-upc.chello.se [193.150.250.87]) by bastuba.partitur.se (8.9.3/8.9.3) with ESMTP id EAA71956; Mon, 4 Dec 2000 04:28:25 +0100 (CET) (envelope-from girgen@partitur.se) Received: from partitur.se (localhost [127.0.0.1]) by palle.girgensohn.se (8.11.1/8.11.1) with ESMTP id eB43SPf35377; Mon, 4 Dec 2000 04:28:25 +0100 (CET) (envelope-from girgen@partitur.se) Sender: girgen@bastuba.partitur.se Message-ID: <3A2B0F59.59597507@partitur.se> Date: Mon, 04 Dec 2000 04:28:25 +0100 From: Palle Girgensohn Organization: Partitur X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386) X-Accept-Language: sv, en MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: where to put Makefile.inc genererated from scripts/configure? References: <3A2B0CA4.DAD7C7B7@partitur.se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hmm... I realize that it will *not* break building from CDROM, since tou have to set WRKDIRPREFIX to somewhere writeable... Rather, the question should probably be: "Why can't I write outside WRKDIR?" ${WRKDIRPREFIX}${.CURDIR} seems like the right place for stuff like Makefile.inc (esp. when you set WRKDIRPREFIX, I guess)? Is the handbook wrong? /Palle Palle Girgensohn wrote: > > Hi! > > Just did some reading in the Porter's handbook: 15.3 > > > "Do not write anything to files outside WRKDIR..." > > Still, all ports I can find that uses dialog(1) to > interactively set build options do this pre-fetch, which means > they have to put their Makefile.inc in > ${WRKDIRPREFIX}${.CURDIR} or it will be wasted by do-extract. > This will make building from CDROM fail, for one thing... Is > there a better way? > > /Palle - just hacking up a build dialog for postgresql > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message