From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Sep 24 08:40:02 2011 Return-Path: Delivered-To: freebsd-ports-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 30D19106566B for ; Sat, 24 Sep 2011 08:40:02 +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 E0C318FC13 for ; Sat, 24 Sep 2011 08:40:01 +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 p8O8e1bu053449 for ; Sat, 24 Sep 2011 08:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p8O8e1oZ053448; Sat, 24 Sep 2011 08:40:01 GMT (envelope-from gnats) Resent-Date: Sat, 24 Sep 2011 08:40:01 GMT Resent-Message-Id: <201109240840.p8O8e1oZ053448@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, h h Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43D4E106566B for ; Sat, 24 Sep 2011 08:32:28 +0000 (UTC) (envelope-from aakuusta@gmail.com) Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by mx1.freebsd.org (Postfix) with ESMTP id 1FD448FC08 for ; Sat, 24 Sep 2011 08:32:27 +0000 (UTC) Received: by pzk32 with SMTP id 32so18913163pzk.3 for ; Sat, 24 Sep 2011 01:32:27 -0700 (PDT) Received: by 10.68.27.8 with SMTP id p8mr8378521pbg.85.1316853147597; Sat, 24 Sep 2011 01:32:27 -0700 (PDT) Received: from nil (lumumba.torservers.net. [77.247.181.163]) by mx.google.com with ESMTPS id 2sm31760142pbu.1.2011.09.24.01.32.17 (version=SSLv3 cipher=OTHER); Sat, 24 Sep 2011 01:32:26 -0700 (PDT) Message-Id: <86obya4a07.fsf@gmail.com> Date: Sat, 24 Sep 2011 12:31:20 +0400 From: h h To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/160969: [patch] sysutils/zfs-snapshot-mgmt: embed ruby version in shebang X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Sep 2011 08:40:02 -0000 >Number: 160969 >Category: ports >Synopsis: [patch] sysutils/zfs-snapshot-mgmt: embed ruby version in shebang >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Sep 24 08:40:01 UTC 2011 >Closed-Date: >Last-Modified: >Originator: h h >Release: FreeBSD 9.0-BETA2 amd64 >Organization: >Environment: >Description: Allow user to install the port with non-default ruby version. >How-To-Repeat: $ make install RUBY_VER=1.9 >Fix: --- a.diff begins here --- Index: sysutils/zfs-snapshot-mgmt/Makefile =================================================================== RCS file: /a/.csup/ports/sysutils/zfs-snapshot-mgmt/Makefile,v retrieving revision 1.5 diff -u -p -r1.5 Makefile --- sysutils/zfs-snapshot-mgmt/Makefile 11 Jan 2010 03:42:14 -0000 1.5 +++ sysutils/zfs-snapshot-mgmt/Makefile 24 Sep 2011 08:28:32 -0000 @@ -16,6 +16,7 @@ COMMENT= Automatic ZFS snapshot manageme USE_RUBY= yes RUBY_NO_BUILD_DEPENDS= yes +RUBY_SHEBANG_FILES=zfs-snapshot-mgmt NO_BUILD= yes MAN8= zfs-snapshot-mgmt.8 @@ -25,7 +26,6 @@ SUB_FILES= pkg-message post-patch: .SILENT ${FIND} ${WRKSRC} -type f -exec ${REINPLACE_CMD} \ -e 's|/usr/local|${PREFIX}|g' \ - -e 's|${PREFIX}\(/bin/ruby\)|${LOCALBASE}\1|g' \ {} + do-install: --- a.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: