Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Sep 2006 23:51:51 +0800
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        Alex Dupre <ale@FreeBSD.org>
Cc:        ports@FreeBSD.org, erwin@FreeBSD.org
Subject:   Re: PHP_VER magic too smart for its own good
Message-ID:  <20060926155150.GA1355@utopia.leeym.com>
In-Reply-To: <4518E2A9.2020108@FreeBSD.org>
References:  <20060926075717.GN10626@droso.net> <4518E2A9.2020108@FreeBSD.org>

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

--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=big5
Content-Disposition: inline

On Tue, Sep 26, 2006 at 10:19:53AM +0200, Alex Dupre wrote:
> Erwin Lansing ha scritto:
> >After leeym added graphics/php4-imlib2 slave port to php5-imlib2, I've
> >been getting a warning in INDEX and an error in the modules check
> >script. This is due to bsd.php.mk and the slave port both trying to
> >accomplish the same result via different ways, and thus outsmarting
> >eachother when php4 is installed on a system.
> 
> The problem is here:
> 
> PKGNAMEPREFIX=  php${PHP_VER}-
> 
> This is the only pecl port that has a master/slave (php5/php4) approach, 
> instead of the unique pecl- pkgprefix. I don't like this difference, but 
> I'm not against it. But if you want static master/slave ports, you need 
> to statically define PKGNAMEPREFIX to php4- and php5- in each port Makefile.

Hi, Erwin and Alex,

Sorry that I didn't test enough scenarios to make sure it works correctly in
different environments. I just tried to build them from empty /usr/local.

I replaced PKGNAMEPREFIX with the fixed ones, and set IGNORE_WITH_PHP and
DEFAULT_PHP_VER to avoid confusion.

If there're still some problems about the already-installed-php-version and
INDEX generation, please let me know. Maybe I'll decouple the master/slave,
or just remove php4 part (I myself use php5.)

Regards,
-- 
Yen-Ming Lee [utf7:+Z05fZWYO] | KeyID:0x5EB52E51 | Taipei, Taiwan

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

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

iQCVAwUBRRlMlsnMx0NetS5RAQJ3TgP6Aunp8yEyLCsW2YwzOMyeYU0aS571Dy1Q
usHG97Z1/HvG/f/vQJtNRDQ2O4HqmEyEHjJQQKzgUak1Iq9wB2uKgMFupGAf2HOd
LnnFW4cSyWgHSxxSYSfVE33yHTvUtWLrewcJ+2/nq55x5TKoswNSpVbam+J+w5MF
+cwdx0mJ/vQ=
=nmoA
-----END PGP SIGNATURE-----

--FL5UXtIhxfXey3p5--



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