Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Oct 2005 21:04:52 GMT
From:      Jonathan Weiss <jw@innerewut.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/87461: [FIX]Chase change of distfile of rubygem-redcloth
Message-ID:  <200510142104.j9EL4qcd052162@www.freebsd.org>
Resent-Message-ID: <200510142110.j9ELAH6f083244@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         87461
>Category:       ports
>Synopsis:       [FIX]Chase change of distfile of rubygem-redcloth
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 14 21:10:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Weiss
>Release:        6.0-RC1
>Organization:
>Environment:
r
>Description:
The distfile for the www/rubygem-redcloth port was renamed and thus cannot be installed.              
>How-To-Repeat:
Install the patch from

http://blog.innerewut.de/files/patches/rubygem-redcloth.patch 

and the patch for devel/ruby-gems to recognize that the distname differs from the portname (http://blog.innerewut.de/files/patches/ruby-gems.patch)   
>Fix:
diff -ru rubygem-redcloth/Makefile rubygem-redcloth.mine/Makefile
--- rubygem-redcloth/Makefile   Thu Jul 21 01:27:18 2005
+++ rubygem-redcloth.mine/Makefile      Fri Oct 14 17:41:52 2005
@@ -6,6 +6,7 @@
 
 PORTNAME=      redcloth
 PORTVERSION=   3.0.3
+DISTNAME=      RedCloth-${PORTVERSION}
 CATEGORIES=    www ruby
 MASTER_SITES=  http://rubyforge.org/frs/download.php/2898/
 
diff -ru rubygem-redcloth/distinfo rubygem-redcloth.mine/distinfo
--- rubygem-redcloth/distinfo   Wed Jul 20 16:10:43 2005
+++ rubygem-redcloth.mine/distinfo      Fri Oct 14 17:42:16 2005
@@ -1,2 +1,2 @@
-MD5 (rubygem/redcloth-3.0.3.gem) = a12563b9bd3240328ac9b4eb471ea3ba
-SIZE (rubygem/redcloth-3.0.3.gem) = 23040
+MD5 (rubygem/RedCloth-3.0.3.gem) = a12563b9bd3240328ac9b4eb471ea3ba
+SIZE (rubygem/RedCloth-3.0.3.gem) = 23040

diff -ru ruby-gems/Makefile.common ruby-gems.mine/Makefile.common
--- ruby-gems/Makefile.common   Fri Aug  5 17:42:20 2005
+++ ruby-gems.mine/Makefile.common      Fri Oct 14 17:44:48 2005
@@ -34,4 +34,4 @@
 RUBYGEMBIN=    ${LOCALBASE}/bin/gem
 
 do-install:
-       ${RUBYGEMBIN} install --install-dir ${PREFIX}/lib/ruby/gems/${REV} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
+       ${RUBYGEMBIN} install --install-dir ${PREFIX}/lib/ruby/gems/${REV} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510142104.j9EL4qcd052162>