Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Jun 2002 19:50:04 +0200
From:      Rolandas Naujikas <rolnas@takas.lt>
To:        Jens Rehsack <rehsack@liwing.de>
Cc:        dwcjr@FreeBSD.org, ports@freebsd.org
Subject:   Re: ports/net/{samba,samba-tng} doesn't batch {fetch,checksum} cleanly
Message-ID:  <3CFBAC4C.70403@takas.lt>
References:  <20020603144150.GA83798@rolnas> <3CFB9F85.1243CCEC@liwing.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Jens Rehsack wrote:
> 
> Rolandas Naujikas wrote:
> 
>>After last commit, the situation is:
>>----------------------------------------------------------------
>>[rolnas@rolnas /usr/ports/net/samba]$ make -DBATCH fetch
>>/usr/ports/net/samba/scripts/configure.samba: cannot create
>>/usr/tmp/usr/ports/net/samba/Makefile.inc: directory nonexistent
>>*** Error code 2
>>
>>Stop in /usr/ports/net/samba.
>>----------------------------------------------------------------
>>
>>The solution possible is to look in www/mod_php4/scripts/configure.php to
>>put ${MKDIR} ${WRKDIRPREFIX}${REALCURDIR} before creating
>>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
>>
>>The other problem is checklist.* files left around with -DBATCH (same
>>problem in www/mod_php4/scripts/configure.php). The solution to do not use
>>temporary file to read selected options and use backtips.
> 
> 
> The one and only line which really is required for this solution is
> +${MKDIR} ${WRKDIRPREFIX}${REALCURDIR}
> 
> Maybe you use the "${MKDIR} -p", because some more directories couldn't
> exists...

bsd.port.mk:576:MKDIR?=         /bin/mkdir -p

> 
> All the other changes are to remove the use of the tempfile.
> It's a great idea. I do not like to much files, too. But a temporary
> file is good for debugging unless you are familar with dialog.

(I'm familar with dialog and) we may not use temporary files, where it 
isn't needed.

> 
> 
>>The patch are below.
>>
>>Rolandas
>>
>>                                                  ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>
>>   patch-configureName: patch-configure
>>                  Type: Plain Text (text/plain)
> 
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CFBAC4C.70403>