Opened 19 years ago

Closed 18 years ago

#3079 closed defect (fixed)

variant "macosx" shouldn't be on by default

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

Description

Marked critical because its an architectural issue. By turning the variant macosx on in the base scripts this forces some options to be on for builds that are undesireable. A primary case is the combination of apache and php. By forcing macosx to be on, it is impossible to install apache+php[45] from darwinports without hacking the php Portfiles to force --with-apxs=${prefix}/sbin/apxs since the macosx variant sets --with-apxs=/usr/sbin/apxs

Change History (5)

comment:1 Changed 19 years ago by toby@…

severity: criticalnormal

comment:2 Changed 19 years ago by yeled@…

Has anyone looked at this?

comment:3 Changed 18 years ago by rspeed@…

I assume you mean php4 +apache as the apache portfile makes no mention of php.

It appears to me that this is an issue with this particular portfile, rather than darwinports itself. Whoever wrote this portfile seems to be trying to reuse the included apache, rather than building one inside /opt.

I'm a noob, so I'm probably wrong here, but shouldn't it never use anything that comes bundled with OS X?

Note: this is also a problem with php5, but not when using apache2.

comment:4 Changed 18 years ago by adamaig@…

(In reply to comment #2)

I assume you mean php4 +apache as the apache portfile makes no mention of php.

It appears to me that this is an issue with this particular portfile, rather than darwinports itself. Whoever wrote this portfile seems to be trying to reuse the included apache, rather than building one inside /opt.

I'm a noob, so I'm probably wrong here, but shouldn't it never use anything that comes bundled with OS X?

Note: this is also a problem with php5, but not when using apache2.

When I looked through the ports scripts, the macosx variant is being set by default (at the time of the original bug submission), not in the portfile itself. The php4 port is simply one port that this architectural feature is revealed as an issue.

People should have the option to build against the preinstalled software, but the macosx variant needs to be deactivated by default IMHO.

comment:5 Changed 18 years ago by pguyot (Paul Guyot)

Resolution: fixed
Status: newclosed

Variant macosx is now enabled by default on MacOS X. Besides, one can enable the variants they want by using variants.conf.

Note: See TracTickets for help on using tickets.