Source-Changes-HG archive

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

[src/trunk]: src/x11/share/fonts only add to the METALOG if ${MKUNPRIVED} != ...



details:   https://anonhg.NetBSD.org/src/rev/aa6879191e38
branches:  trunk
changeset: 551831:aa6879191e38
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Sep 12 19:00:14 2003 +0000

description:
only add to the METALOG if ${MKUNPRIVED} != "no"

diffstat:

 x11/share/fonts/Makefile.mkfontdir     |  4 +++-
 x11/share/fonts/encodings/Makefile.enc |  4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r f919659aad2c -r aa6879191e38 x11/share/fonts/Makefile.mkfontdir
--- a/x11/share/fonts/Makefile.mkfontdir        Fri Sep 12 18:52:57 2003 +0000
+++ b/x11/share/fonts/Makefile.mkfontdir        Fri Sep 12 19:00:14 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.mkfontdir,v 1.1.1.1 2003/09/11 18:37:09 lukem Exp $
+#      $NetBSD: Makefile.mkfontdir,v 1.2 2003/09/12 19:00:14 lukem Exp $
 
 # Note: needs "install" run in ./encodings  first
 #
@@ -9,8 +9,10 @@
 afterinstall:
        rm -f ${DESTDIR}/${FILESDIR}/fonts.dir
        ${MKFONTDIR} ${DESTDIR}/${FILESDIR}
+.if ${MKUNPRIVED} != "no"
        echo ".${FILESDIR}/fonts.dir type=file mode=0444 uname=root gname=wheel" \
            | ${METALOG.add}
+.endif
        ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
            ${DESTDIR}/${X11FONTDIR}/encodings/encodings.dir \
            ${DESTDIR}/${FILESDIR}/encodings.dir
diff -r f919659aad2c -r aa6879191e38 x11/share/fonts/encodings/Makefile.enc
--- a/x11/share/fonts/encodings/Makefile.enc    Fri Sep 12 18:52:57 2003 +0000
+++ b/x11/share/fonts/encodings/Makefile.enc    Fri Sep 12 19:00:14 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.enc,v 1.1.1.1 2003/09/11 18:58:23 lukem Exp $
+#      $NetBSD: Makefile.enc,v 1.2 2003/09/12 19:00:16 lukem Exp $
 
 FILESDIR=      ${X11FONTDIR}/${ENCDIR}
 .PATH:         ${X11SRCDIR.xc}/fonts/${ENCDIR}
@@ -26,6 +26,8 @@
            rm -f encodings.dir ; \
            ${MKFONTDIR} -n -r -p ${X11FONTDIR}/${ENCDIR}/ -e . ${ENCARGS} . ; \
        )
+.if ${MKUNPRIVED} != "no"
        echo ".${FILESDIR}/encodings.dir type=file mode=0644 uname=root gname=wheel" \
            | ${METALOG.add}
+.endif
 



Home | Main Index | Thread Index | Old Index