Opened 20 years ago

Closed 20 years ago

Last modified 20 years ago

#2319 closed defect (fixed)

UPDATE: apache2 2.0.52

Reported by: james@… Owned by: tobypeterson
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

Current apache2 is being built without properly specifying where it's libraries (such as apr) live.

This information can be queried by calling apxs, which fetches it at runtime out of the file config_vars.mk in apache2/build. apxs -q libdirreturns /opt/local/apache2/lib, which is wrong; it should return /opt/local/lib. Some third party sources trying to build apache modules rely on this behavior to be correct.

The attached patch fixes this problem by properly specifying the appropriate libdr directory at configure time.

Attachments (1)

apache2-Portfile.diff (676 bytes) - added by james@… 20 years ago.
www/apache2/Portfile diffs

Download all attachments as: .zip

Change History (5)

Changed 20 years ago by james@…

Attachment: apache2-Portfile.diff added

www/apache2/Portfile diffs

comment:1 Changed 20 years ago by toby@…

Currently, apache2 is installed into $prefix/apache2/

So, as far as I can tell this behavior is correct. It's possible to use one of the --enable-layout flags to have it install straight into $prefix, but then it conflicts with apache (1.x).

comment:2 Changed 20 years ago by mww@…

Owner: changed from darwinports-bugs@… to toby@…

assign to maintainer

comment:3 Changed 20 years ago by james@…

Hi Toby,

This patch/bug doesn't change anything about where apache2 is installed. It simply updates a piece of apache's metadata to specify correctly something that we, as humans, already know: that apache2's libraries such as apr are to be found at /opt/local/lib, not /opt/local/apache2/lib where apache2 would have put them by default.

James

comment:4 Changed 20 years ago by jberry@…

Resolution: fixed
Status: newclosed

Toby committed this one.

Note: See TracTickets for help on using tickets.