From owner-freebsd-bugs@FreeBSD.ORG Wed Mar 10 02:00:11 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 831A01065674 for ; Wed, 10 Mar 2010 02:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5FBEF8FC28 for ; Wed, 10 Mar 2010 02:00:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o2A20Bl7015723 for ; Wed, 10 Mar 2010 02:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o2A20Bqr015722; Wed, 10 Mar 2010 02:00:11 GMT (envelope-from gnats) Resent-Date: Wed, 10 Mar 2010 02:00:11 GMT Resent-Message-Id: <201003100200.o2A20Bqr015722@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Aaron D. Gifford" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D051106564A for ; Wed, 10 Mar 2010 01:54:28 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id EF6428FC1D for ; Wed, 10 Mar 2010 01:54:27 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o2A1sRcJ080845 for ; Wed, 10 Mar 2010 01:54:27 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o2A1sReT080832; Wed, 10 Mar 2010 01:54:27 GMT (envelope-from nobody) Message-Id: <201003100154.o2A1sReT080832@www.freebsd.org> Date: Wed, 10 Mar 2010 01:54:27 GMT From: "Aaron D. Gifford" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/144606: [Patch] Enable devel/rubygem-rake to be installed under Ruby 1.9.1 (rake included with 1.9.1 is older than the port) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2010 02:00:11 -0000 >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 root@example.org:/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 -.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: