>Number: 144606
>Category: misc
>Synopsis: [Patch] Enable devel/rubygem-rake to be installed under Ruby
>1.9.1 (rake included with 1.9.1 is older than the port)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Mar 10 02:00:11 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Aaron D. Gifford
>Release: 8.0
>Organization:
>Environment:
FreeBSD example.org 8.0-STABLE FreeBSD 8.0-STABLE #0: Wed Jan 27 19:46:39 MST
2010 [email protected]:/usr/obj/usr/src/sys/SUPERPOWERS.TAMBLER.NET amd64
>Description:
Several Ruby ports are disabled in the port Makefile when using Ruby 1.9.1 as
the default version under FreeBSD because 1.9.1 includes the functionality the
port added under 1.8.x.
HOWEVER, the versions included with 1.9.1 are a bit older than the ports
versions. The BEST way, IMHO, to upgrade is to use the ports system. Hence,
the ports in question need to be re-enabled to work under 1.9.1 for those ports
where the port version is newer than the included version in 1.9.1.
The rake port is one of these.
The fix is a VERY SIMPLE Makefile change (see patch below)
Striving towards Ruby 1.9.1 being a first-class FreeBSD citizen,
Aaron out.
>How-To-Repeat:
>Fix:
PATCH to port Makefile:
--- Makefile.orig 2010-03-08 22:58:29.457624838 -0700
+++ Makefile 2010-03-08 23:23:54.367666743 -0700
@@ -22,10 +22,6 @@
.include <bsd.port.pre.mk>
-.if ${RUBY_VER} == 1.9
-IGNORE= already included in ruby distribution
-.endif
-
post-install:
${MV} ${PREFIX}/${GEM_LIB_DIR}/doc/rake.1.gz \
${PREFIX}/man/man1
>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"