Opened 21 years ago

Closed 20 years ago

Last modified 20 years ago

#1529 closed defect (fixed)

NEW: php-5.0.0b4

Reported by: bob@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

php-5.0.0b4

The portfile can be found here: http://www.norcalttora.com/~bob/Portfile-php5b4.tar.gz

Description: PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. This portfile was originally done up by bchesneau@… for php4.

Homepage: http://www.php.net

Comments: I can't attest to having it fully tested. Though it seems to work fine on OS X 10.3. It started as copying the php4 portfile over. Added two new variants: mssql: depends on freetds and adds --with-mysql=${prefix} mysql-binary: adds --with-mysql=/usr/local/mysql

Also added --with-libxml-dir={$prefix} to the configure args. And the dependency on libxml2.

The tarball contains the Portfile as well as the configure script patch from php4.

Change History (4)

comment:1 Changed 21 years ago by fkr@…

I have several issues with the portfile:

  • the mysql-binary variant does not make sense, I don't like to see darwinports ports start depending

on stuff that can not be build from darwinports

Furthermore, I'm not sure providing beta software is a "good" thing. But that is a more general concern that needs to be addressed on darwinports@

comment:2 Changed 21 years ago by bob@…

The mysql-binary variant makes perfect sense for those who don't care to have their mysql built from the ports. I didn't remove the normal mysql variant. And no one is forcing you to use the binary. I fail to see how that could even be an issue with you.

This port doesn't replace php4. It is simply an easy way to build php5 from the ports tree. Everyone who uses php knows that php5 is beta software at this point.

So really I don't see how any of the "issues" you have with this port are valid concerns.

comment:3 Changed 20 years ago by mww@…

This mysqlbinary makes no sense for a port system - we only rely on binaries from the OS. period. We dont want people to mix 'foreign' software and that from dports. We cant fix the problems that arise with software installed some way we dont control or know exactly. To make this behaviour at least consistent, we would have to add those xxx_binary variants to LOTS of ports, just confusing everyone. The beauty in this system is, that you just have to do a 'port install xy +z' and everything gets dont for you - not 'install something from hand, some packages from fink, and then something from dports'.

and whats the point with "variant cli {}"???

-mww

comment:4 Changed 20 years ago by mww@…

Resolution: fixed
Status: newclosed

seems like bchesneau@ 'fixed' our little disput by adding his php5 Portfile...

Note: See TracTickets for help on using tickets.