Date: Wed, 29 May 2002 09:47:41 +0200 From: Jens Rehsack <rehsack@liwing.de> To: Rolandas Naujikas <rolnas@takas.lt> Cc: dwcjr@FreeBSD.org, ports@freebsd.org Subject: Re: ports/net/samba doesn't batch {fetch,checksum,compile} cleanly with options from command line Message-ID: <3CF4879D.E83D1204@liwing.de> References: <20020529071306.GA34465@rolnas>
next in thread | previous in thread | raw e-mail | index | archive | help
Rolandas Naujikas wrote: > > My batch {fetch,checksum,compile} script fails. Putting .if defined(BATCH) > around configure script invocation would be workaround. Hm, I wrote it, but I only react on BATCH. Did you make the same expirience with www/mod_php4 or databases/postgresql7 or sth. other with menu? I see the same steps in many other ports - f.e. like in www/mod_php4 Does the following patch helps you? --- configure.samba.current Tue May 28 08:29:02 2002 +++ configure.samba Wed May 29 07:52:49 2002 @@ -42,7 +42,7 @@ esac fi -echo "SCRIPT_RUN=yes" >${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc +echo "SCRIPT_RUN=yes" >${WRKDIRPREFIX}${CURDIR}/Makefile.inc while [ "$1" ]; do case $1 in --- end patch > I hardly worked to make batch compile script to compile needed ports with > needed options (like WITH_SOMETHING=yes). > > Utilities, like portupgrade, doesn't know about options, with such to build, > and such options sometimes(always) conflict to be put in /etc/make.conf. > > The example of run is here: > --------------------------------------------------------------------------- > [rolnas@rolnas /usr/ports/net/samba]$ make WITH_UTMP=yes BATCH=yes checksum > /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 examples of my scripts are at http://www.mif.vu.lt/~rolnas/freebsd/. > > Rolandas > > P.S. Similarly I have many problems to batch compile mod_php4, because it > tries also create Makefile.inc file, and dependencies is not know apriori. > > P.S.P.S. I'm sorry for my English. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message -- L i W W W i Jens Rehsack L W W W L i W W W W i nnn gggg LiWing IT-Services L i W W W W i n n g g LLLL i W W i n n g g Friesenstraße 2 gggg 06112 Halle g g g Tel.: +49 - 3 45 - 5 17 05 91 ggg e-Mail: <rehsack@liwing.de> Fax: +49 - 3 45 - 5 17 05 92 http://www.liwing.de/ 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?3CF4879D.E83D1204>