cvs commit: ports/lang/php4 Makefile.pear pkg-plist.pear ports/lang/php5 Makefile.pear pkg-plist.pear

Kris Kennaway kris at obsecurity.org
Mon Apr 11 01:45:12 PDT 2005


On Mon, Apr 11, 2005 at 08:40:48AM +0000, Alex Dupre wrote:
> ale         2005-04-11 08:40:48 UTC
> 
>   FreeBSD ports repository
> 
>   Modified files:
>     lang/php4            Makefile.pear pkg-plist.pear 
>     lang/php5            Makefile.pear pkg-plist.pear 
>   Log:
>   Create directory and touch files that "pear" creates when dealing
>   with pear modules and the port will later delete.
>   
>   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=	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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-ports/attachments/20050411/e8a0686a/attachment.bin


More information about the cvs-ports mailing list