ports/84524: [BUGFIX] Fix issue with non-tar rubygems in the rubygems-framework

Jonathan Weiss jw at innerewut.de
Wed Aug 3 16:40:15 UTC 2005


>Number:         84524
>Category:       ports
>Synopsis:       [BUGFIX] Fix issue with non-tar rubygems in the rubygems-framework
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 03 16:40:13 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Weiss
>Release:        5-STABLE
>Organization:
>Environment:
FreeBSD xxx.nodomain 5.4-STABLE FreeBSD 5.4-STABLE #0: Thu Jul 21 18:03:54 CEST 2005     root at xxx.nodomain:/usr/obj/usr/src/sys/SATAN  i386
>Description:
The current Makefile.common for devel/ruby-gems that manages rubygems in the ports tree does not work with non-tar packed gems. The gems should not be extracted and the current Makefile.common uses NO_EXTRACT="YES" to garanty this.

The problem is that NO_EXTRACT is not supported and thus non-tar gems are tried to be extracted. This will fail.

Ulrich Spoerlein found this issue and has the solution.




>How-To-Repeat:
      Try to create a non-tar gem like stream:
http://rubyforge.org/frs/download.php/640/stream-0.5.gem
>Fix:
      Change NO_EXTRACT in the Makefile.common to EXTRACT_ONLY=
This will garanty that the gem will not be extracted.
Submitted by Ulrich Spoerlein:

--- Makefile.common     Wed Jul 20 15:49:01 2005
+++ Makefile.common.mine        Wed Aug  3 18:30:19 2005
@@ -7,7 +7,7 @@
 
 PKGNAMEPREFIX= rubygem-
 EXTRACT_SUFX=  .gem
-NO_EXTRACT=    YES
+EXTRACT_ONLY= 
 DIST_SUBDIR=   rubygem
 
 USE_REINPLACE= yes
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list