ports/87460: Fix to problems with non-standard named gems
Jonathan Weiss
jw at innerewut.de
Fri Oct 14 21:10:18 UTC 2005
>Number: 87460
>Category: ports
>Synopsis: Fix to problems with non-standard named gems
>Confidential: no
>Severity: serious
>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:
FreeBSD xxxx 6.0-RC1 FreeBSD 6.0-RC1 #0: Tue Oct 11 23:19:36 CEST 2005 root at bsd:/usr/obj/usr/src/sys/GENERIC i386
>Description:
If the distfile of a rubygem is not exactely named like the portname, installation will fail. Therefore the distname must be used for installation.
>How-To-Repeat:
Use the following patch (http://blog.innerewut.de/files/patches/ruby-gems.patch):
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}
>Fix:
install the patch from http://blog.innerewut.de/files/patches/ruby-gems.patch
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list