Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 293967 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]
clearsilver-0.10.5-r1.ebuild.patch
clearsilver-0.10.5-r1.ebuild.patch (text/plain), 1.65 KB, created by
Arfrever Frehtes Taifersar Arahesis
on 2011-11-27 19:03:15 UTC
(
hide
)
Description:
clearsilver-0.10.5-r1.ebuild.patch
Filename:
MIME Type:
Creator:
Arfrever Frehtes Taifersar Arahesis
Created:
2011-11-27 19:03:15 UTC
Size:
1.65 KB
patch
obsolete
>--- clearsilver-0.10.5-r1.ebuild >+++ clearsilver-0.10.5-r1.ebuild >@@ -7,7 +7,11 @@ > # > # dju@gentoo.org, 4th July 2005 > >-inherit eutils perl-app multilib autotools >+EAPI="4" >+GENTOO_DEPEND_ON_PERL="no" >+PYTHON_DEPEND="python? 2" >+ >+inherit autotools eutils multilib perl-app python > > DESCRIPTION="Clearsilver is a fast, powerful, and language-neutral HTML template system." > HOMEPAGE="http://www.clearsilver.net/" >@@ -18,20 +22,22 @@ > 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 )" >+RDEPEND="${DEPEND}" >+ >+DOCS=(README INSTALL) > >-DOCS="README INSTALL" >+pkg_setup() { >+ if use python; then >+ DOCS+=(README.python) > >-if use python ; then >- DOCS="${DOCS} README.python" >-fi >- >-src_unpack() { >- unpack ${A} >- cd "${S}" >+ python_set_active_version 2 >+ python_pkg_setup >+ fi >+} > >+src_prepare() { > epatch "${FILESDIR}"/${P}-perl_installdir.patch > > use zlib && epatch "${FILESDIR}"/${P}-libz.patch >@@ -44,7 +50,7 @@ > [[ "${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,16 +60,15 @@ > "--disable-apache" \ > "--disable-ruby" \ > "--disable-java" \ >- "--disable-csharp" \ >- || die "./configure failed" >+ "--disable-csharp" >+} > >- emake || die "emake failed" >+src_compile() { >+ default > } > > src_install () { >- make DESTDIR="${D}" install || die "make install failed" >- >- dodoc ${DOCS} || die "dodoc failed" >+ default > > if use perl ; then > fixlocalpod || die "fixlocalpod failed"
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