From: Matthias Schmidt Date: Thu, 27 Dec 2007 13:40:11 +0000 (+0000) Subject: Don't randomize fortune dat files during build time. fortune will display X-Git-Tag: v2.0.1~1541 X-Git-Url: https://gitweb.dragonflybsd.org/~uqs/games.git/commitdiff_plain/1465342b4c59135d512aa91f5e4280028760b5ca Don't randomize fortune dat files during build time. fortune will display its entries randomized anyway. Without this change comparing two trees (for binary updates) will lead to false postives. --- diff --git a/games/fortune/datfiles/Makefile b/games/fortune/datfiles/Makefile index 11a6eed524..864b23c1cd 100644 --- a/games/fortune/datfiles/Makefile +++ b/games/fortune/datfiles/Makefile @@ -1,6 +1,6 @@ # @(#)Makefile 8.2 (Berkeley) 4/19/94 # $FreeBSD: src/games/fortune/datfiles/Makefile,v 1.24.2.3 2002/02/18 15:03:32 ru Exp $ -# $DragonFly: src/games/fortune/datfiles/Makefile,v 1.6 2006/08/08 16:52:53 pavalos Exp $ +# $DragonFly: src/games/fortune/datfiles/Makefile,v 1.7 2007/12/27 13:40:11 matthias Exp $ # list of fortunes to be installed FORTUNES= dragonfly-funny dragonfly-tips fortunes fortunes2 fortunes-o \ @@ -22,7 +22,7 @@ FILESDIR= ${SHAREDIR}/games/fortune # add rules for specially handled fortunes here fortunes-o.dat: fortunes-o PATH=$$PATH:/usr/games:${.OBJDIR}/../strfile \ - strfile -Crsx ${.ALLSRC} ${.TARGET} + strfile -Csx ${.ALLSRC} ${.TARGET} fortunes-o: fortunes-o.${TYPE} tr a-zA-Z n-za-mN-ZA-M < ${.ALLSRC} > ${.TARGET} @@ -34,7 +34,7 @@ CLEANFILES+= $f.dat fortunes-o .if !(target($f.dat)) $f.dat: $f PATH=$$PATH:/usr/games:${.OBJDIR}/../strfile \ - strfile -Crs ${.ALLSRC} ${.TARGET} + strfile -Cs ${.ALLSRC} ${.TARGET} .endif .endfor