Subject: misc/641: fish.instr cannot installing to ${DESTDIR}/usr/share/games
To: None <gnats-admin@sun-lamp.cs.berkeley.edu>
From: Masaru Oki <oki@fs.telcom.oki.co.jp>
List: netbsd-bugs
Date: 12/14/1994 18:20:03
>Number: 641
>Category: misc
>Synopsis: fish.instr cannot installing to ${DESTDIR}/usr/share/games
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people (Misc Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 14 18:20:02 1994
>Originator: Masaru Oki
>Organization:
>Release: unknown-1.0
>Environment:
NetBSD-1.0 (+ patch 0-6)
System: SunOS cotton 4.1.3-JL 1 sun4m
Architecture: sun4
>Description:
DESTDIR environment variable isn't used at beforeinstall
entry in src/games/fish/Makefile.
>How-To-Repeat:
(in single user mode)
# mount -r /usr
# cd /usr/src/games/fish
# DESTDIR=/altroot make install
>Fix:
--- src/games/fish/Makefile~ Thu Dec 15 11:03:02 1994
+++ src/games/fish/Makefile Thu Dec 15 11:04:34 1994
@@ -6,6 +6,7 @@
HIDEGAME=hidegame
beforeinstall:
- install -c -o bin -g bin -m 444 ${.CURDIR}/fish.instr /usr/share/games
+ install -c -o bin -g bin -m 444 ${.CURDIR}/fish.instr \
+ ${DESTDIR}/usr/share/games
.include <bsd.prog.mk>
>Audit-Trail:
>Unformatted:
Masaru Oki