pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/ruby



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.

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
 



Home | Main Index | Thread Index | Old Index