ports/lang/erlang/26/patches/patch-make_install_bin

17 lines
588 B
Text

Create versioned symlinks in ${PREFIX}/bin/
--- make/install_bin.orig Tue Jun 23 20:56:21 2015
+++ make/install_bin Thu Jun 25 13:47:10 2015
@@ -691,9 +691,9 @@ done
# do it
for file in "$@"; do
- echo $ln_s "$DQ$src_dir/$file$DQ" "$file"
- $dbg $ln_s "$src_dir/$file" "$file" || {
- test "$tst" = "" || echo "{error,{$type,\"$file\",failed}}." > $tst
+ echo $ln_s "$DQ$src_dir/$file$DQ" "${file}${MAJ_V}"
+ $dbg $ln_s "$src_dir/$file" "${file}${MAJ_V}" || {
+ test "$tst" = "" || echo "{error,{$type,\"$file${MAJ_V}\",failed}}." > $tst
exit 1
}
done