Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 2004 12:06:04 +0100
From:      "Fabrizio Fioravanti" <f.fioravanti@tin.it>
To:        <ale@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   FreeBSD Port: php4-4.3.9
Message-ID:  <00da01c4c8a7$9aad7890$6701a8c0@exitech.locale>

next in thread | raw e-mail | index | archive | help
Hi,

I have experienced a problem using the port in the subject of the email. =
=3D
The problem is the following:

I need to pass to the php configure the following parm:=3D20
--with-mime-magic=3D3D/usr/share/misc/magic.mime

By issuing the command=3D20
root@freebsd# make -n -V CONFIGURE_ARGS
--enable-versioning  --enable-memory-limit  --with-layout=3D3DGNU
--with-config-file-scan-dir=3D3D/usr/local/etc/php  --disable-all
--with-regex=3D3Dphp --with-apxs=3D3D/usr/local/sbin/apxs --disable-ipv6
--prefix=3D3D/usr/local i386-portbld-freebsd5.2.1

By issuing=3D20
root@freebsd# make -n -V CONFIGURE_ARGS
CONFIGURE_ARGS=3D3D--with-mime-magic=3D3D/usr/share/misc/magic.mime
--enable-versioning  --enable-memory-limit  --with-layout=3D3DGNU
--with-config-file-scan-dir=3D3D/usr/local/etc/php  --disable-all
--with-regex=3D3Dphp --with-apxs=3D3D/usr/local/sbin/apxs --disable-ipv6
--prefix=3D3D/usr/local i386-portbld-freebsd5.2.1

I obtain the same since the Makefile overwrite le variable. By changing =
=3D
the Makefile in the following way (using +=3D3D instead of =3D3D):

CONFIGURE_ARGS+=3D3D        --enable-versioning \
I obtain:
root@freebsd# make -n -V CONFIGURE_ARGS
CONFIGURE_ARGS=3D3D--with-mime-magic=3D3D/usr/share/misc/magic.mime
--with-mime-magic=3D3D/usr/share/misc/magic.mime --enable-versioning
--enable-memory-limit  --with-layout=3D3DGNU
--with-config-file-scan-dir=3D3D/usr/local/etc/php  --disable-all
--with-regex=3D3Dphp --with-apxs=3D3D/usr/local/sbin/apxs --disable-ipv6
--prefix=3D3D/usr/local i386-portbld-freebsd5.2.1

that seems to be correct, and then when I compile by=3D20
make deinstall
make clean
make CONFIGURE_ARGS=3D3D--with-mime-magic=3D3D/usr/share/misc/magic.mime =
=3D
reinstall

The process end in the correct way as when I changed manually the =3D =
Makefile
by adding the option in the following way. All seems to work!

CONFIGURE_ARGS=3D3D --with-mime-magic=3D3D/usr/share/misc/magic.mime \
                --enable-versioning \
                --enable-memory-limit \
                --with-layout=3D3DGNU \
                --with-config-file-scan-dir=3D3D${PREFIX}/etc/php \
                --disable-all

I suggest you to verify and to change the Makefile in order to address =
=3D
such problem.

Regards,
Fabrizio

Ing. Fabrizio Fioravanti, Ph.D.
Exitech
Tel./Fax.: +39055470958
Email: f.fioravanti@exitech.fi.it
ICQ: 296-222-577

Ing. Fabrizio Fioravanti, Ph.D.
Exitech
Tel./Fax.: +39055470958
Email: f.fioravanti@exitech.fi.it
ICQ: 296-222-577





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00da01c4c8a7$9aad7890$6701a8c0>