Date: Sat, 24 Sep 2011 12:31:20 +0400 From: h h <aakuusta@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/160969: [patch] sysutils/zfs-snapshot-mgmt: embed ruby version in shebang Message-ID: <86obya4a07.fsf@gmail.com> Resent-Message-ID: <201109240840.p8O8e1oZ053448@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86obya4a07.fsf>