summaryrefslogtreecommitdiffstats
path: root/games/fortune/datfiles/Makefile
diff options
context:
space:
mode:
authormurray <murray@FreeBSD.org>2003-06-19 07:02:00 +0000
committermurray <murray@FreeBSD.org>2003-06-19 07:02:00 +0000
commit1f5522a4978a53118d41f52ef22c70d3f7a1ea48 (patch)
treec0d79d8d4c742f40a82311bffd81b1e5ad15ccd6 /games/fortune/datfiles/Makefile
parent2ef56d2c5b9012a9e642b8aee2b862963556bd2a (diff)
downloadFreeBSD-src-1f5522a4978a53118d41f52ef22c70d3f7a1ea48.zip
FreeBSD-src-1f5522a4978a53118d41f52ef22c70d3f7a1ea48.tar.gz
In the build process, fortune files have been randomized since at
least the 4.4-lite days. This is pointless, since fortune(6) performs its own randomization. It was also problematic for binary update systems such as ports/security/freebsd-update. This commit simply removes the -r option to strfile so that the datfiles are constant. Submitted by: Colin Percival <cperciva@sfu.ca>
Diffstat (limited to 'games/fortune/datfiles/Makefile')
-rw-r--r--games/fortune/datfiles/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/fortune/datfiles/Makefile b/games/fortune/datfiles/Makefile
index 224ec9a..024e134 100644
--- a/games/fortune/datfiles/Makefile
+++ b/games/fortune/datfiles/Makefile
@@ -29,12 +29,12 @@ FILESDIR= ${SHAREDIR}/games/fortune
.for f in fortunes fortunes2 fortunes2-o freebsd-tips gerrold.limerick limerick murphy murphy-o startrek zippy
$f.dat: $f
PATH=$$PATH:/usr/games:${.OBJDIR}/../strfile \
- strfile -Crs ${.ALLSRC} ${.TARGET}
+ strfile -Cs ${.ALLSRC} ${.TARGET}
.endfor
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}
OpenPOWER on IntegriCloud