Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 293137 Details for
Bug 315487
www-servers/gorg fails to compile with ruby-1.9
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
gorg-0.6.4.ebuild.patch
gorg-0.6.4.ebuild.patch (text/plain), 1.62 KB, created by
Naohiro Aota
on 2011-11-19 20:44:04 UTC
(
hide
)
Description:
gorg-0.6.4.ebuild.patch
Filename:
MIME Type:
Creator:
Naohiro Aota
Created:
2011-11-19 20:44:04 UTC
Size:
1.62 KB
patch
obsolete
>--- gorg-0.6.4.ebuild 2011-11-20 02:35:53.857690932 +0900 >+++ gorg-0.6.4-r1.ebuild 2011-11-20 05:37:09.957569845 +0900 >@@ -4,7 +4,10 @@ > > EAPI=2 > >-inherit ruby eutils >+USE_RUBY="ruby18 ruby19" >+RUBY_FAKEGEM_TASK_TEST="" >+ >+inherit ruby-fakegem eutils > > DESCRIPTION="Back-end XSLT processor for an XML-based web site" > HOMEPAGE="http://www.gentoo.org/proj/en/gdp/doc/gorg.xml" >@@ -12,7 +15,6 @@ > IUSE="fastcgi mysql" > > SLOT="0" >-USE_RUBY="ruby18" > LICENSE="GPL-2" > KEYWORDS="~amd64 ~ppc ~x86" > >@@ -26,18 +28,45 @@ > >=dev-ruby/ruby-fcgi-0.8.5-r1 > )" > >+RUBY_PATCHES=( "${FILESDIR}"/${P}-ruby19.patch ) >+ > pkg_setup() { > enewgroup gorg > enewuser gorg -1 -1 -1 gorg > } > >-src_install() { >- ruby_einstall >+each_ruby_prepare() { >+ case ${RUBY} in >+ *ruby19) >+ epatch "${FILESDIR}"/${P}-ruby19-date.patch >+ ;; >+ *) >+ ;; >+ esac >+} >+ >+each_ruby_configure() { >+ cd ext/gorg/xsl >+ ${RUBY} extconf.rb || die >+} >+ >+each_ruby_compile() { >+ cd ext/gorg/xsl >+ emake || die >+} >+ >+each_ruby_install() { >+ each_fakegem_install >+ cd ext/gorg/xsl >+ emake DESTDIR="${D}" install > > # install doesn't seem to chmod these correctly, forcing it here >- SITE_LIB_DIR=`$RUBY -r rbconfig -e 'puts Config::CONFIG["sitelibdir"]'` >- chmod +x "${D}"/${SITE_LIB_DIR}/gorg/cgi-bin/*.cgi >- chmod +x "${D}"/${SITE_LIB_DIR}/gorg/fcgi-bin/*.fcgi >+ chmod +x "${D}"/$(ruby_fakegem_gemsdir)/gems/${P}/lib/gorg/cgi-bin/*.cgi || die >+ chmod +x "${D}"/$(ruby_fakegem_gemsdir)/gems/${P}/lib/gorg/fcgi-bin/*.fcgi || die >+} >+ >+all_ruby_install() { >+ all_fakegem_install > > keepdir /etc/gorg; insinto /etc/gorg ; doins etc/gorg/* > diropts -m0770 -o gorg -g gorg; keepdir /var/cache/gorg
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 315487
:
227943
|
293133
|
293135
| 293137 |
294685
|
294687
|
294691
|
294693