Lines 61-67
src_configure() {
Link Here
|
61 |
|
61 |
|
62 |
econf \ |
62 |
econf \ |
63 |
--datadir="${EPREFIX}"/usr/share/apr-util-1 \ |
63 |
--datadir="${EPREFIX}"/usr/share/apr-util-1 \ |
64 |
--with-apr="${EPREFIX}"/usr \ |
64 |
--with-apr="${SYSROOT}${EPREFIX}"/usr \ |
65 |
--with-expat="${EPREFIX}"/usr \ |
65 |
--with-expat="${EPREFIX}"/usr \ |
66 |
--without-sqlite2 \ |
66 |
--without-sqlite2 \ |
67 |
$(use_with freetds) \ |
67 |
$(use_with freetds) \ |
Lines 74-87
src_configure() {
Link Here
|
74 |
$(use_with postgres pgsql) \ |
74 |
$(use_with postgres pgsql) \ |
75 |
$(use_with sqlite sqlite3) \ |
75 |
$(use_with sqlite sqlite3) \ |
76 |
${myconf} |
76 |
${myconf} |
|
|
77 |
sed -i -r \ |
78 |
-e "/^(apr_builddir|apr_builders|top_builddir)=/s:=:=${SYSROOT}:" \ |
79 |
-e "/^CC=/s:=.*:=$(tc-getCC):" \ |
80 |
-e '/^(C|CPP|CXX|LD)FLAGS=/d' \ |
81 |
-e '/^LTFLAGS/s:--silent::' \ |
82 |
build/rules.mk || die |
83 |
sed -i -r \ |
84 |
-e "/^APRUTIL_(LDFLAGS|LIBS)/s:-[RL]/[^ ]*::g" \ |
85 |
-e "/^INCLUDES/s:(-I)(/usr/include):\1${SYSROOT}\2:g" \ |
86 |
Makefile || die |
77 |
} |
87 |
} |
78 |
|
88 |
|
79 |
src_compile() { |
89 |
src_compile() { |
80 |
emake CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" |
90 |
emake |
81 |
|
91 |
use doc && emake dox |
82 |
if use doc; then |
|
|
83 |
emake dox |
84 |
fi |
85 |
} |
92 |
} |
86 |
|
93 |
|
87 |
src_install() { |
94 |
src_install() { |