Module Name:    src
Committed By:   christos
Date:           Sat Dec 24 21:17:17 UTC 2016

Modified Files:
        src/external/mit/xorg/lib/xkeyboard-config: Makefile.xkbdata

Log Message:
sort codes for reproducibile builds.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
    src/external/mit/xorg/lib/xkeyboard-config/Makefile.xkbdata

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

Modified files:

Index: src/external/mit/xorg/lib/xkeyboard-config/Makefile.xkbdata
diff -u src/external/mit/xorg/lib/xkeyboard-config/Makefile.xkbdata:1.1 src/external/mit/xorg/lib/xkeyboard-config/Makefile.xkbdata:1.2
--- src/external/mit/xorg/lib/xkeyboard-config/Makefile.xkbdata:1.1	Wed Jun 10 21:49:20 2009
+++ src/external/mit/xorg/lib/xkeyboard-config/Makefile.xkbdata	Sat Dec 24 16:17:16 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.xkbdata,v 1.1 2009/06/11 01:49:20 mrg Exp $
+#	$NetBSD: Makefile.xkbdata,v 1.2 2016/12/24 21:17:16 christos Exp $
 
 XKBDISTDIR=	${X11SRCDIR.xkeyboard-config}/${XKBNAME}
 
@@ -17,7 +17,10 @@ CLEANFILES+=		${XKBNAME}.dir
 ${XKBNAME}.dir:
 	${_MKTARGET_CREATE}
 	rm -f ${.TARGET}
-	(cd ${XKBDISTDIR} && ${XKBCOMP} -lfhlpR -o ${.OBJDIR}/${.TARGET} '*')
+	(cd ${XKBDISTDIR} && rm -f ${.OBJDIR}/${.TARGET}.tmp && \
+	    ${XKBCOMP} -lfhlpR -o ${.OBJDIR}/${.TARGET}.tmp '*' && \
+	    sort ${.OBJDIR}/${.TARGET}.tmp > ${.OBJDIR}/${.TARGET} && \
+	    rm -f ${.OBJDIR}/${.TARGET}.tmp)
 
 realall: ${FILES}
 

Reply via email to