Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Nov 2003 09:40:59 +0100
From:      Stijn Hoop <stijn@win.tue.nl>
To:        "Michael A. Smith" <msmith@code-fu.com>
Cc:        ports@freebsd.org
Subject:   Re: FreeBSD Port: mod_php4-4.3.3,1 MAKE_ARGS
Message-ID:  <20031105084059.GM80302@pcwin002.win.tue.nl>
In-Reply-To: <3FA86D0B.50805@code-fu.com>
References:  <3FA86D0B.50805@code-fu.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--YrQNB5Deg1WGKZi3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=20
> generally build everything else this way *except* Apache and PHP and=20
> thought it was time to give them a try.
>=20
> When I normally compile PHP, I use something like this:
>=20
> ./configure --with-apxs=3D/usr/local/apache/bin/apxs=20
> --with-mysql=3D/usr/local --with-pgsql=3D/usr/local --enable-trans-sid=20
> --with-gd=3D/usr/local --enable-exif
>=20
> I'm trying to figure out how to add these options to the pkgtools.conf=20
> MAKE_ARGS array. I've tried a number of combinations and it compiles=20
> 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' =3D> 'BATCH=3Dyes WITH_APACHE2=3Dyes PHP4_OPTIONS=3D"BZ=
IP2 CTYPE CURL DOMXML DOMXSLT FTP GD INIFILE MCRYPT MHASH MIME MYSQL OPENSS=
L PCRE POSIX POSTGRESQL SESSION SOCKETS XML XSLT ZLIB"',

[stijn@pcwin002] <~> sudo portupgrade -f lang/php4
Password:
--->  Reinstalling 'php4-4.3.4.r1' (lang/php4)
--->  Building '/usr/ports/lang/php4'
=2E....
                                    ^^^^^^^^

should say 'with make args BZIP2 etc etc'. And I do get the configuration
screen, so the 'BATCH=3Dyes' option is definitely not getting through.
Maybe knu@FreeBSD.org would know what to do next (CC)?

FWIW:

[stijn@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@pcwin002] <~> ls -ld /var/db/pkg/portupgrade*
drwxr-xr-x  2 root  wheel  512 Nov  3 11:38 /var/db/pkg/portupgrade-20030723

--Stijn

--=20
Remember, kids: "Q" is always followed by "U". You can learn more on the
Internet in the Spelling FAQU.
		-- James "Kibo" Parry

--YrQNB5Deg1WGKZi3
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/qLebY3r/tLQmfWcRAuOsAKCxYO1ntkcHR/s1lvO5flEJ1gN9JwCeLPYW
z/pkK/+tUxIZgt1IsbhVWfc=
=qWsf
-----END PGP SIGNATURE-----

--YrQNB5Deg1WGKZi3--



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