Date: Sun, 17 Aug 1997 12:12:17 +0700 (NSS) From: "Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/4314: games/boggle Makefile correction Message-ID: <199708170512.MAA23078@nnd.itfs.nsk.su> Resent-Message-ID: <199708170520.WAA06526@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 4314
>Category: bin
>Synopsis: games/boggle Makefile correction
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Aug 16 22:20:01 PDT 1997
>Last-Modified:
>Originator: Nickolay N. Dudorov
>Organization:
NTP Infoteka
>Release: FreeBSD 3.0-CURRENT i386
>Environment:
FreeBSD-3.0
>Description:
Makefile for src/games/boggle incorrectly lists
data files ('dictionary' and 'dictindex') as a source for
'all' target, whereas they obviously are the sources for
'beforeinstall' target already used in this Makefile.
>How-To-Repeat:
See the src/games/boggle/Makefile ;-)
Moreover if you try to do:
cd src/games/boggle
make obj clean cleandepend depend
make -j12 all
this will results in error.
>Fix:
Apply the next patch:
diff -ruN src/games/boggle/Makefile src/games/boggle-patched/Makefile
--- src/games/boggle/Makefile Sat Aug 16 14:16:33 1997
+++ src/games/boggle-patched/Makefile Sun Aug 17 11:44:19 1997
@@ -14,7 +14,6 @@
MKINDX= ${.CURDIR}/mkindex/mkindex
.endif
-all: ${FILES}
${MKDICT}:
cd ${.CURDIR}/mkdict; ${MAKE}
@@ -30,7 +29,7 @@
dictindex:: dictionary
${MKINDX} < ${.ALLSRC} > ${.TARGET}
-beforeinstall:
+beforeinstall: ${FILES}
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
${FILES} ${DESTDIR}${SHAREDIR}/games/boggle/
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708170512.MAA23078>
