Date: Wed, 29 May 2002 10:22:40 +0200 From: Jens Rehsack <rehsack@liwing.de> To: Rolandas Naujikas <rolnas@takas.lt> Cc: ports@freebsd.org, dwcjr@FreeBSD.org Subject: Re: ports/net/samba doesn't batch {fetch,checksum,compile} cleanly with options from command line Message-ID: <3CF48FD0.111A6F90@liwing.de> References: <20020529071306.GA34465@rolnas> <3CF4879D.E83D1204@liwing.de> <20020529082114.GA66457@rolnas>
next in thread | previous in thread | raw e-mail | index | archive | help
Rolandas Naujikas wrote: > > This patch doesn't help, because when I run fetch or checksum I run without > root permissions, and some times ${WRKDIRPREFIX} is not writable by not > root. The same problems occurs with others (very interactive) ports. > > I think that old good way to configure ports with > {WITH,WITHOUT}_SOMETHING=yes is good compromise. The way with menus and > additional Makefile.inc files are not good in all cases. It's create more > problems, than solve. > > The most software configures without menus and that is easier to manager. The samba port can both, but you must tell it what you want. If you do not tell - the makefile and the configure.samba script assume you are an unexpirienced user and try to show the menu. Please send me you detailed actions and your /etc/make.conf and I will make a fix that works for you as long as you take care to respect the rules in /usr/ports/Mk/*. I will not fault them - if your script conflicts with them, they will win. regards, jens > Rolandas > > On Wed, May 29, 2002 at 09:47:41AM +0200, Jens Rehsack wrote: > > 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 -- 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?3CF48FD0.111A6F90>