Source-Changes-HG archive

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

[src/trunk]: src Use find .${X11FONTDIR}, not find ./${X11FONTDIR}, because $...



details:   https://anonhg.NetBSD.org/src/rev/436fc63057d5
branches:  trunk
changeset: 769497:436fc63057d5
user:      apb <apb%NetBSD.org@localhost>
date:      Mon Sep 12 13:38:42 2011 +0000

description:
Use find .${X11FONTDIR}, not find ./${X11FONTDIR}, because ${X11FONTDIR}
starts with "/". This should fix issues involving .//usr/X11R7 instead
of ./usr/X11R7 in METALOG during the build for some ports.

diffstat:

 external/mit/xorg/share/fonts/Makefile.fccache |  4 ++--
 x11/share/fonts/Makefile                       |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 1aded3666e55 -r 436fc63057d5 external/mit/xorg/share/fonts/Makefile.fccache
--- a/external/mit/xorg/share/fonts/Makefile.fccache    Mon Sep 12 13:32:59 2011 +0000
+++ b/external/mit/xorg/share/fonts/Makefile.fccache    Mon Sep 12 13:38:42 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.fccache,v 1.2 2008/10/25 22:27:34 apb Exp $
+#      $NetBSD: Makefile.fccache,v 1.3 2011/09/12 13:38:43 apb Exp $
 
 .ifndef _MAKEFILE_FCCACHE_
 _MAKEFILE_FCCACHE_=1
@@ -12,7 +12,7 @@
        ${FCCACHE} -fv ${DESTDIR}${X11FONTDIR}
 .if ${MKUNPRIVED} != "no"
        cd ${DESTDIR} \
-       && find ./${X11FONTDIR} -name fonts.cache-1 \
+       && find .${X11FONTDIR} -name fonts.cache-1 \
            | ${TOOL_SED} -e \
                's/$$/ type=file mode=0444 uname=${BINOWN} gname=${BINGRP}/' \
            | ${METALOG.add}
diff -r 1aded3666e55 -r 436fc63057d5 x11/share/fonts/Makefile
--- a/x11/share/fonts/Makefile  Mon Sep 12 13:32:59 2011 +0000
+++ b/x11/share/fonts/Makefile  Mon Sep 12 13:38:42 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2008/10/25 22:27:39 apb Exp $
+#      $NetBSD: Makefile,v 1.7 2011/09/12 13:38:42 apb Exp $
 
 .include <bsd.own.mk>
 
@@ -12,7 +12,7 @@
        ${FCCACHE} -fv ${DESTDIR}${X11FONTDIR}
 .if ${MKUNPRIVED} != "no"
        cd ${DESTDIR} \
-       && find ./${X11FONTDIR} -name fonts.cache-1 \
+       && find .${X11FONTDIR} -name fonts.cache-1 \
            | ${TOOL_SED} -e \
                's/$$/ type=file mode=0444 uname=${BINOWN} gname=${BINGRP}/' \
            | ${METALOG.add}



Home | Main Index | Thread Index | Old Index