Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114954 - dev-libs/apr and dev-libs/apr-util should use "econf" because they can
Summary: dev-libs/apr and dev-libs/apr-util should use "econf" because they can
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-08 22:24 UTC by Georgi Georgiev
Modified: 2006-01-04 20:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
apr-econf.patch (apr.patch,593 bytes, patch)
2005-12-08 22:32 UTC, Georgi Georgiev
Details | Diff
apr-util-econf.patch (apr-util.patch,507 bytes, patch)
2005-12-08 22:33 UTC, Georgi Georgiev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Georgi Georgiev 2005-12-08 22:24:43 UTC
both apr and apr-util call ./configure directly. I figured that it is because
setting --libdir=/usr/$(get_libdir) causes sandbox violations.

A sort of ugly, but working method (and much better than the current
non-multilib-friendly situation) is to call:

--libdir='${exec_prefix}'/$(get_libdir)

I tested that this fixes the problem. I'll submit the necessary patches next.
Comment 1 Georgi Georgiev 2005-12-08 22:32:19 UTC
Created attachment 74364 [details, diff]
apr-econf.patch

Makes apr multilib-friendly. It also makes it use econf instead of ./configure.


The ebuild is in my overlay, hence the new version, but it should apply cleanly
against apr-1.1.1.ebuild from the official tree.
Comment 2 Georgi Georgiev 2005-12-08 22:33:09 UTC
Created attachment 74365 [details, diff]
apr-util-econf.patch

Makes apr-util multilib-friendly. It also makes it use econf instead of
./configure.

The ebuild is in my overlay, hence the new version, but it should apply cleanly
against apr-util-1.1.2.ebuild from the official tree.
Comment 3 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-01-04 20:02:30 UTC
the only apr that uses ./configure rather then econf is the 1.x line, which isn't really supported in gentoo yet. those ebuilds will be re-written as we prepare for apache-2.2.