pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/fonts/ko-x11fonts/files It seems that nowadays bdftopc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/650fdf97b172
branches:  trunk
changeset: 329635:650fdf97b172
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Wed Feb 13 03:45:29 2019 +0000

description:
It seems that nowadays bdftopcf refuses to open symlinks.
Hard-link or copy the bdf files rather than symlinking them.
>From qjsgkem on freenode.

diffstat:

 fonts/ko-x11fonts/files/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r 95ef5b0d65db -r 650fdf97b172 fonts/ko-x11fonts/files/Makefile
--- a/fonts/ko-x11fonts/files/Makefile  Tue Feb 12 23:46:23 2019 +0000
+++ b/fonts/ko-x11fonts/files/Makefile  Wed Feb 13 03:45:29 2019 +0000
@@ -10,9 +10,11 @@
 
 all: ${PCF}
 
+# Hard-link or copy the files; for some reason as of 2019 bdftopcf refuses
+# to open symlinks. sigh
 prepare::
        for i in ${BDF0}; do \
-               ln -s $$i; \
+               ln $$i . || cp $$i .; \
        done
 
 install::



Home | Main Index | Thread Index | Old Index