pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Nov 13 22:21:20 UTC 2021

Modified Files:
        pkgsrc/mk: fonts.mk

Log Message:
mk: Avoid find -iname for compatibility with Solaris 10

from Claes Nästén.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/mk/fonts.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/fonts.mk
diff -u pkgsrc/mk/fonts.mk:1.17 pkgsrc/mk/fonts.mk:1.18
--- pkgsrc/mk/fonts.mk:1.17     Fri Nov  6 18:04:27 2020
+++ pkgsrc/mk/fonts.mk  Sat Nov 13 22:21:20 2021
@@ -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 @@ do-install: install-fonts
 
 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