From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jul 1 20:31:03 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38CD716A4CE for ; Thu, 1 Jul 2004 20:31:03 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1504743D58 for ; Thu, 1 Jul 2004 20:31:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i61KUWnY094542 for ; Thu, 1 Jul 2004 20:30:32 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i61KUWD4094541; Thu, 1 Jul 2004 20:30:32 GMT (envelope-from gnats) Resent-Date: Thu, 1 Jul 2004 20:30:32 GMT Resent-Message-Id: <200407012030.i61KUWD4094541@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Oliver Eikemeier Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAF0116A4CE for ; Thu, 1 Jul 2004 20:27:21 +0000 (GMT) Received: from fillmore.dyndns.org (port-212-202-50-15.dynamic.qsc.de [212.202.50.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 842D543D2D for ; Thu, 1 Jul 2004 20:27:21 +0000 (GMT) (envelope-from eikemeier@fillmore-labs.com) Received: from dhcp-4.local ([172.16.0.4]) by fillmore.dyndns.org with esmtp (Exim 4.34 (FreeBSD)) id 1Bg88F-000Ebj-0V for FreeBSD-gnats-submit@FreeBSD.org; Thu, 01 Jul 2004 22:26:09 +0200 Message-Id: <40E458C0.3090802@fillmore-labs.com> Date: Thu, 01 Jul 2004 20:32:32 +0200 From: Oliver Eikemeier To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/68569: bsd.ruby.mk should not use `.error' X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2004 20:31:03 -0000 >Number: 68569 >Category: ports >Synopsis: bsd.ruby.mk should not use `.error' >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 01 20:30:31 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Oliver Eikemeier >Release: FreeBSD 4.10-STABLE i386 >Organization: Fillmore Labs - http://www.fillmore-labs.com >Environment: System: FreeBSD nuuk.fillmore-labs.com 4.10-STABLE >Description: bsd.ruby.mk uses `.error' in multiple places: 117:.error You set the variable RUBY to "${RUBY}", but it does not seem to exist. Please specify an already installed ruby executable. 122:.error You set the variable RUBY to "${RUBY}", but it failed to include rbconfig. Please specify a properly installed ruby executable. 146:.error "Ruby 1.7 is obsolete; set RUBY_VER to 1.8 instead." This has the ill effect that a misconfigured port breaks all port tools, like INDEX building, pkg_version, portupgrade, chkversion and others. I assume that tools that should report these misconfigurations, like portsmon, are affected too. Most port tools use make -V to extract information fro the ports, so FreshPorts can do make -VPKGNAME -VBROKEN and could display that port PKGNAME is broken because BROKEN. Common practice in the ports tree is to set BROKEN in this case. >How-To-Repeat: >Fix: Replace `.error' with `BROKEN=' >Release-Note: >Audit-Trail: >Unformatted: