Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 51786 Details for
Bug 77547
www-apache/libapreq2 needs updating for apache-2.0.55-r1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
libapreq2-2.04.03-r1.ebuild
libapreq2-2.04.03-r1.ebuild (text/plain), 3.18 KB, created by
Benedikt Böhm (RETIRED)
on 2005-02-21 08:09:16 UTC
(
hide
)
Description:
libapreq2-2.04.03-r1.ebuild
Filename:
MIME Type:
Creator:
Benedikt Böhm (RETIRED)
Created:
2005-02-21 08:09:16 UTC
Size:
3.18 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/dev-perl/libapreq2/libapreq2-2.04.03.ebuild,v 1.2 2004/09/30 19:40:44 mr_bones_ Exp $ > >inherit libtool eutils flag-o-matic depend.apache > >MY_SRCBALL=${P%.*}_${P##*.}-dev.tar.gz > >DESCRIPTION="A Apache Request Perl Module" >SRC_URI="http://www.apache.org/dist/httpd/libapreq/${MY_SRCBALL}" >HOMEPAGE="http://httpd.apache.org/apreq/" > >SLOT="2" >LICENSE="Apache-2.0" >KEYWORDS="~x86 ~amd64" > >S=${WORKDIR}/${P%%.[0-9][0-9]}-dev > ># the 5.8.4 dep is to ensure Test-More and MakeMaker >DEPEND="${DEPEND} > >=dev-lang/perl-5.8.4 > >=sys-apps/sed-4 > dev-perl/Apache-Test > >=dev-perl/mod_perl-1.99 > >=dev-perl/ExtUtils-XSBuilder-0.23" > > >DOCFILES="CHANGES FAQ.pod INSTALL NOTICE README" > >need_apache2 > >src_unpack() { > unpack ${A} || die "unpack failed" > cd ${S} || die "cd failed" > > epatch ${FILESDIR}/${PN}-2.0-binloc.patch || die > epatch ${FILESDIR}/${PVR}-sandbox.patch || die > > echo "ScriptSock ${T}/run" >> ${S}/env/t/conf/extra.conf.in > echo "ScriptSock ${T}/run2" > ${S}/glue/perl/t/conf/extra.conf.in > > elibtoolize --reverse-deps > > sed -i -e 's/-apxs @APACHE2_APXS@/-apxs @APACHE2_APXS@ -user portage -group portage/' ${S}/env/Makefile.am > sed -i -e 's/-apxs @APACHE2_APXS@/-apxs @APACHE2_APXS@ -user portage -group portage -port 8549/' ${S}/glue/Makefile.am > > sed -i -e 's:$APACHE2_APXS -q APR_VERSION:/usr/bin/apr-config --version:' aclocal.m4 acinclude.m4 > sed -i -e 's:APACHE2_HTTPD=$APACHE2_SRC/httpd:APACHE2_HTTPD=$APACHE2_SRC/apache2:' aclocal.m4 acinclude.m4 > sed -i -e 's:APACHE2_HTTPD=`$APACHE2_APXS -q SBINDIR`/httpd:APACHE2_HTTPD=`$APACHE2_APXS -q SBINDIR`/apache2:' aclocal.m4 acinclude.m4 >} > >src_compile() { > # the -i is for a missing depcomp > autoreconf -i -f > > # the install process installs libapreq2 first, and then calls > # apxs2 -i, which tries to recompile a libtool thing and fails > # because it can't find libapreq2, which is still sitting in the > # staging directory. this approach thieved from subversion ebuild, > # suggested by pauldv. that didn't work, neither did the > # LD_LIBRARY_PATH thing. I'm at the end of my rope for now on > # this, so i'm disabling relink. Anybody that can figure out a > # cleaner way is certainly welcome to do so. > sed -i -e 's/need_relink=yes/#ouch need_relink=yes/' ${S}/ltmain.sh > > # this may only be needed on 64-bit arches > append-flags -fPIC > > econf --with-apache2-apxs=${APXS2} \ > --enable-perl-glue \ > --with-apache2-httpd=/usr/sbin/apache2 || die "econf failed" > > emake LT_LDFLAGS="-L${D}/usr/lib" || die > > hasq maketest $FEATURES && src_test >} > >src_test() { > # ccache breaks the cgi portion of make test > # thieved from lilypond ebuild > PATH="$(echo ":${PATH}:" | sed 's/:[^:]*ccache[^:]*:/:/;s/^://;s/:$//;')" > > # even after all that, cgi.t can't find what it needs in its @INC. > # don't see how this ever ran for anybody. disabling for now > echo "cgi" > ${S}/env/t/SKIP > echo "cgi" > ${S}/glue/perl/t/SKIP > > chown portage ${S}/.. > chown portage ${S} > chown portage ${S}/env > > # tests too flaky yet to || die > > APACHE_TEST_NO_STICKY_PREFERENCES=1 HOME="${T}" emake test >} > >src_install() { > emake -j1 DESTDIR=${D} LT_LDFLAGS="-L${D}/usr/lib" install || die >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 77547
: 51786 |
51787