pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk mk: Avoid find -iname for compatibility with Solari...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/540724d33430
branches:  trunk
changeset: 769373:540724d33430
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Nov 13 22:21:20 2021 +0000

description:
mk: Avoid find -iname for compatibility with Solaris 10

from Claes Nästén.

diffstat:

 mk/fonts.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 6bbd17e97a5c -r 540724d33430 mk/fonts.mk
--- a/mk/fonts.mk       Sat Nov 13 21:21:12 2021 +0000
+++ b/mk/fonts.mk       Sat Nov 13 22:21:20 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: fonts.mk,v 1.17 2020/11/06 18:04:27 maya Exp $
+# $NetBSD: fonts.mk,v 1.18 2021/11/13 22:21:20 nia Exp $
 #
 # Install .otf and .ttf font files.
 #
@@ -19,8 +19,8 @@
 
 install-fonts:
        @${STEP_MSG} "Installing all .otf and .ttf files from ${WRKSRC}"
-       ${FIND} ${WRKSRC} -name ${DESTDIR:T} -prune -o -iname '*.ttf' -exec \
+       ${FIND} ${WRKSRC} -name ${DESTDIR:T} -prune -o -name '*.[tT][tT][fF]' -exec \
                ${INSTALL_DATA} "{}" ${DESTDIR}${TTF_FONTS_DIR} ";"
-       ${FIND} ${WRKSRC} -name ${DESTDIR:T} -prune -o -iname '*.otf' -exec \
+       ${FIND} ${WRKSRC} -name ${DESTDIR:T} -prune -o -name '*.[oO][tT][fF]' -exec \
                ${INSTALL_DATA} "{}" ${DESTDIR}${OTF_FONTS_DIR} ";"
 



Home | Main Index | Thread Index | Old Index