Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Sep 2006 10:19:53 +0200
From:      Alex Dupre <ale@FreeBSD.org>
To:        ports@FreeBSD.org,  leeym@FreeBSD.org,  erwin@FreeBSD.org
Subject:   Re: PHP_VER magic too smart for its own good
Message-ID:  <4518E2A9.2020108@FreeBSD.org>
In-Reply-To: <20060926075717.GN10626@droso.net>
References:  <20060926075717.GN10626@droso.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

--
Alex Dupre



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