Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 293831 Details for
Bug 312179
dev-libs/clearsilver: Verify and potentially improve Python-related code
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
revised ebuild patch
clearsilver.patch (text/plain), 2.08 KB, created by
Ian Delaney (RETIRED)
on 2011-11-26 12:49:59 UTC
(
hide
)
Description:
revised ebuild patch
Filename:
MIME Type:
Creator:
Ian Delaney (RETIRED)
Created:
2011-11-26 12:49:59 UTC
Size:
2.08 KB
patch
obsolete
>diff -ur clearsilver.orig/clearsilver-0.10.5-r1.ebuild clearsilver/clearsilver-0.10.5-r1.ebuild >--- clearsilver-0.10.5-r1.ebuild 2011-03-26 19:01:07.000000000 +0800 >+++ clearsilver//clearsilver-0.10.5-r1.ebuild 2011-11-25 03:46:19.080833711 +0800 >@@ -7,7 +7,9 @@ > # > # dju@gentoo.org, 4th July 2005 > >-inherit eutils perl-app multilib autotools >+EAPI=4 >+DEPEND_PYTHON="python? 2" >+inherit eutils perl-app multilib autotools python > > DESCRIPTION="Clearsilver is a fast, powerful, and language-neutral HTML template system." > HOMEPAGE="http://www.clearsilver.net/" >@@ -18,8 +20,7 @@ > KEYWORDS="amd64 ppc ppc64 ~sparc x86 ~x86-fbsd" > IUSE="perl python zlib" > >-DEPEND="python? ( dev-lang/python ) >- perl? ( dev-lang/perl ) >+DEPEND="perl? ( dev-lang/perl ) > zlib? ( sys-libs/zlib )" > > DOCS="README INSTALL" >@@ -28,23 +29,29 @@ > DOCS="${DOCS} README.python" > fi > >-src_unpack() { >- unpack ${A} >- cd "${S}" >- >+src_prepare() { > epatch "${FILESDIR}"/${P}-perl_installdir.patch > > use zlib && epatch "${FILESDIR}"/${P}-libz.patch > > epatch "${FILESDIR}"/${P}-libdir.patch > sed -i -e "s:GENTOO_LIBDIR:$(get_libdir):" configure.in >+ >+ # heck to installed instance of ruby >+ if [[ $(qlist dev-lang/ruby) ]]; then >+ ewarn "" >+ ewarn "YOU NEED TO REMOVE DEV-LANG/RUBY FROM THE SYSTEM." >+ ewarn "LACK OF CURRENT SUPPORT OF RUBY RESULTS IN FAILURE OF INSTALLATION" >+ ewarn "" >+ die >+ fi > eautoreconf || die "eautoreconf failed" > > # Fix for Gentoo/Freebsd > [[ "${ARCH}" == FreeBSD ]] && touch ${S}/features.h ${S}/cgi/features.h > } > >-src_compile() { >+src_configure() { > econf \ > $(use_enable perl) \ > $(use_with perl perl /usr/bin/perl) \ >@@ -54,18 +61,19 @@ > "--disable-apache" \ > "--disable-ruby" \ > "--disable-java" \ >- "--disable-csharp" \ >- || die "./configure failed" >+ "--disable-csharp" >+} > >- emake || die "emake failed" >+src_compile() { >+ emake > } > > src_install () { >- make DESTDIR="${D}" install || die "make install failed" >+ make DESTDIR="${D}" install > >- dodoc ${DOCS} || die "dodoc failed" >+ dodoc ${DOCS} > > if use perl ; then >- fixlocalpod || die "fixlocalpod failed" >+ fixlocalpod > fi > }
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 312179
:
292371
|
292995
|
293313
|
293635
|
293757
| 293831 |
293967