Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Mar 2004 01:09:40 +0100
From:      Joan Picanyol <lists-freebsd-stable@biaix.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: mod_php4 and portupgrade
Message-ID:  <20040318000940.GB3908@grummit.biaix.org>
In-Reply-To: <000001c40c5c$ae165440$fb1e010a@laptop>
References:  <000001c40c5c$ae165440$fb1e010a@laptop>

next in thread | previous in thread | raw e-mail | index | archive | help
* Kyle Mott <kyle@xraided.net> [20040317 21:08]:
> By putting this line in /usr/local/etc/pkgtools.conf (MAKEARGS section),
> I'm able to pass all but one argument to portinstall/portupgrade:
> 'www/mod_php4' => 'BATCH=YES CTYPE=yes CURL=yes EXIF=yes FTP=yes
> GD=yes MYSQL=yes OPENSSL=yes OVERLOAD=yes PCRE=yes POSIX=ye s
> POSTGRESQL=yes SESSION=yes TOKENIZER=yes XML=yes ZLIB=yes', The one
> that doesn't seem to be working is the POSTGRESQL=yes line
It's impossible to correctly diagnose this without knowing what the line
is _exactly_, please show the output of 

cat -e /usr/local/etc/pkgtools.conf |grep 'www/mod_php4'

You might try the b) syntax for MAKE_ARGS, it has the advantatge of
being able to comment individual arguments easily. Also, show us an
invocation of make from the build script.

> Also, I noticed these arguments do not get passed when I just do a
> "make install" or "make reinstall" of the port..
No. MAKE_ARGS are the arguments passed to make by portupgrade. Try doing
[one long line]

`grep 'www/mod_php4' /usr/local/etc/pkgtools.conf | cut -d '>' -f 2` make install

> Is there another place (I assume /etc/make.conf, but what's the
> syntax?
Define the variables there, one in each line.

qvb
-- 
pica



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