Received: by mail.netbsd.org (Postfix, from userid 605) id D76B184EB0; Tue, 31 Aug 2021 11:37:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 2079384E9D for ; Tue, 31 Aug 2021 11:37:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id Sg85029zfCFN for ; Tue, 31 Aug 2021 11:37:18 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 61D8984CE1 for ; Tue, 31 Aug 2021 11:37:18 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 5B7B7FA97; Tue, 31 Aug 2021 11:37:18 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1630409838218870" MIME-Version: 1.0 Date: Tue, 31 Aug 2021 11:37:18 +0000 From: "Mark Davies" Subject: CVS commit: pkgsrc/lang/ruby To: pkgsrc-changes@NetBSD.org Reply-To: markd@netbsd.org X-Mailer: log_accum Message-Id: <20210831113718.5B7B7FA97@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1630409838218870 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: markd Date: Tue Aug 31 11:37:18 UTC 2021 Modified Files: pkgsrc/lang/ruby: buildlink3.mk Log Message: ruby: make sure there isn't already a ruby in buildlink before linking To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 pkgsrc/lang/ruby/buildlink3.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1630409838218870 Content-Disposition: inline Content-Length: 678 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/lang/ruby/buildlink3.mk diff -u pkgsrc/lang/ruby/buildlink3.mk:1.19 pkgsrc/lang/ruby/buildlink3.mk:1.20 --- pkgsrc/lang/ruby/buildlink3.mk:1.19 Sun Jan 7 13:04:20 2018 +++ pkgsrc/lang/ruby/buildlink3.mk Tue Aug 31 11:37:18 2021 @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.19 2018/01/07 13:04:20 rillig Exp $ +# $NetBSD: buildlink3.mk,v 1.20 2021/08/31 11:37:18 markd Exp $ BUILDLINK_TREE+= ${RUBY_BASE} @@ -21,6 +21,7 @@ buildlink-bin-ruby: ${RUN} \ f=${BUILDLINK_PREFIX.${RUBY_BASE}}"/bin/ruby${RUBY_SUFFIX}"; \ if ${TEST} -f $$f; then \ + ${RM} -f ${BUILDLINK_DIR}/bin/ruby; \ ${LN} -s $$f ${BUILDLINK_DIR}/bin/ruby; \ fi --_----------=_1630409838218870--