Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2005 01:45:08 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Alex Dupre <ale@FreeBSD.org>
Cc:        ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/lang/php4 Makefile.pear pkg-plist.pear ports/lang/php5 Makefile.pear pkg-plist.pear
Message-ID:  <20050411084507.GA2457@xor.obsecurity.org>
In-Reply-To: <200504110840.j3B8emtO062524@repoman.freebsd.org>
References:  <200504110840.j3B8emtO062524@repoman.freebsd.org>

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

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

On Mon, Apr 11, 2005 at 08:40:48AM +0000, Alex Dupre wrote:
> ale         2005-04-11 08:40:48 UTC
>=20
>   FreeBSD ports repository
>=20
>   Modified files:
>     lang/php4            Makefile.pear pkg-plist.pear=20
>     lang/php5            Makefile.pear pkg-plist.pear=20
>   Log:
>   Create directory and touch files that "pear" creates when dealing
>   with pear modules and the port will later delete.
>  =20
>   Suggested by:   kris

Thanks, but this isn't quite there yet.

> |  post-install:
> |  	@${INSTALL_SCRIPT} ${WRKSRC}/pear/scripts/pear ${PREFIX}/bin
> | +	@${MKDIR} ${PREFIX}/lib/php/pear/.registry
> | +	@${TOUCH} ${PREFIX}/lib/php/pear/.filemap
> | +	@${TOUCH} ${PREFIX}/lib/php/pear/.lock

This won't happen if the package is added, so you need to also add
corresponding @exec statements to the pkg-plist.

> | --- ports/lang/php5/Makefile.pear	2004/12/01 10:36:26	1.2
> | +++ ports/lang/php5/Makefile.pear	2005/04/11 08:40:48	1.3
> | @@ -1,3 +1,5 @@
> | +PORTREVISION=3D	2

Did you really want to set a portrevision in this common makefile,
which will override the value of all other ports that include this
file?

Kris

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

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

iD8DBQFCWjkTWry0BWjoQKURAp8SAJ4sGzDr1X4v/j9Y8ZPG6X7z8W2KbwCfaDwm
niCCekedCKvhAja03ZsL0c0=
=lMCg
-----END PGP SIGNATURE-----

--ReaqsoxgOBHFXBhH--



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