summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-09-21 09:01:53 +0000
committerjb <jb@FreeBSD.org>1998-09-21 09:01:53 +0000
commit94fc2dabae7846f75f743ed205d647e3f56ca5f9 (patch)
tree606e53074db4d233eddd7d67eadea4bbf39632aa /games
parentc0bdb8655260c5c3087411417f304a8011ce52bb (diff)
downloadFreeBSD-src-94fc2dabae7846f75f743ed205d647e3f56ca5f9.zip
FreeBSD-src-94fc2dabae7846f75f743ed205d647e3f56ca5f9.tar.gz
Back out the last two hacks. I've added games to the (correct) build
path in src/Makefile.inc. The code that I'm backing out didn't work anyway since exists() checks for a file in .PATH (and /usr/games/strfile doesn't exist there), so the test was always defaulting to ../strfile/strfile which breaks cross-compiled builds.
Diffstat (limited to 'games')
-rw-r--r--games/fortune/datfiles/Makefile19
1 files changed, 3 insertions, 16 deletions
diff --git a/games/fortune/datfiles/Makefile b/games/fortune/datfiles/Makefile
index af26a86..daeaeb1 100644
--- a/games/fortune/datfiles/Makefile
+++ b/games/fortune/datfiles/Makefile
@@ -15,19 +15,6 @@ TYPE= real
# THE FOURTH LINE
#TYPE= fake
-# Try to find these in the build tree
-.if exists(/usr/games/strfile)
-STRFILE=/usr/games/strfile
-.else
-STRFILE=../strfile/strfile
-.endif
-
-.if exists(/usr/games/caesar)
-CAESAR=/usr/games/caesar
-.else
-CAESAR=../../caesar/caesar
-.endif
-
CLEANFILES+=${BLDS}
all: ${FILES} ${BLDS}
@@ -39,12 +26,12 @@ install:
${DESTDIR}${SHAREDIR}/games/fortune
fortunes.dat fortunes2.dat fortunes2-o.dat limerick.dat startrek.dat zippy.dat:
- ${STRFILE} -rs ${.CURDIR}/${.TARGET:R} ${.TARGET}
+ strfile -rs ${.CURDIR}/${.TARGET:R} ${.TARGET}
fortunes-o.dat: fortunes-o
- ${STRFILE} -rsx fortunes-o ${.TARGET}
+ strfile -rsx fortunes-o ${.TARGET}
fortunes-o: fortunes-o.${TYPE}
- ${CAESAR} 13 < ${.ALLSRC} > ${.TARGET}
+ caesar 13 < ${.ALLSRC} > ${.TARGET}
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud