FreeBSD Port: mod_php4-4.3.3,1 MAKE_ARGS
Stijn Hoop
stijn at win.tue.nl
Wed Nov 5 00:40:47 PST 2003
On Tue, Nov 04, 2003 at 10:22:51PM -0500, Michael A. Smith wrote:
> I'm building apache13 and mod_php4 from ports using portupgrade. I
> generally build everything else this way *except* Apache and PHP and
> thought it was time to give them a try.
>
> When I normally compile PHP, I use something like this:
>
> ./configure --with-apxs=/usr/local/apache/bin/apxs
> --with-mysql=/usr/local --with-pgsql=/usr/local --enable-trans-sid
> --with-gd=/usr/local --enable-exif
>
> I'm trying to figure out how to add these options to the pkgtools.conf
> MAKE_ARGS array. I've tried a number of combinations and it compiles
> each time, but *without* any of my config choices.
I have exactly the same problem. For some reason portupgrade isn't picking up
my MAKE_ARGS anymore. I don't think it is a PHP problem, but unfortunately I
haven't had time to figure out why this happens, so I haven't sent a bug
report yet. Consider this as just a 'me too'.
The line that really doesn't work right now:
'lang/php4' => 'BATCH=yes WITH_APACHE2=yes PHP4_OPTIONS="BZIP2 CTYPE CURL DOMXML DOMXSLT FTP GD INIFILE MCRYPT MHASH MIME MYSQL OPENSSL PCRE POSIX POSTGRESQL SESSION SOCKETS XML XSLT ZLIB"',
[stijn at pcwin002] <~> sudo portupgrade -f lang/php4
Password:
---> Reinstalling 'php4-4.3.4.r1' (lang/php4)
---> Building '/usr/ports/lang/php4'
.....
^^^^^^^^
should say 'with make args BZIP2 etc etc'. And I do get the configuration
screen, so the 'BATCH=yes' option is definitely not getting through.
Maybe knu at FreeBSD.org would know what to do next (CC)?
FWIW:
[stijn at pcwin002] <~> ls -l /usr/local/etc/pkgtools.conf
-rw-r--r-- 1 root wheel 14430 Oct 8 11:04 /usr/local/etc/pkgtools.conf
[stijn at pcwin002] <~> ls -ld /var/db/pkg/portupgrade*
drwxr-xr-x 2 root wheel 512 Nov 3 11:38 /var/db/pkg/portupgrade-20030723
--Stijn
--
Remember, kids: "Q" is always followed by "U". You can learn more on the
Internet in the Spelling FAQU.
-- James "Kibo" Parry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20031105/337465d0/attachment.bin
More information about the freebsd-ports
mailing list