#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 libdir
returns /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)
Change History (5)
Changed 20 years ago by james@…
Attachment: | apache2-Portfile.diff added |
---|
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: | new → closed |
Toby committed this one.
www/apache2/Portfile diffs