Subject: S/Key Makefile is missing DESTDIRs
To: None <netbsd-bugs@sun-lamp.cs.berkeley.edu>
From: None <carrel@cisco.com>
List: netbsd-bugs
Date: 06/26/1994 20:40:16
>Submitter-Id: net
>Originator: David Carrel
>Organization:
Just a regular guy!
>Confidential: no
>Synopsis: the S/Key makefile is missing "${DESTDIR}"
>Severity: non-critical
>Priority: medium
>Category: bin
>Class: sw-bug
>Release: 0.9C (sources from 26 June 94)
>Environment: present on all architectures
System: NetBSD haydon 0.9C NetBSD 0.9C (DAVE) #1: Sun Jun 26 11:09:33 PD 1994 carrel@haydon:/main_sys/home/NetBSD/src/sys/arch/hp300/compile/DAVE hp300
>Description:
The Makefile for the S/Key binaries is missing "${DESTDIR}" for
some of the installs
>How-To-Repeat:
cd /usr/src/usr.bin/skey
DESTDIR=/mnt
make install
>Fix:
The following patch corrects the problem
*** Makefile.orig Sun Jun 26 19:00:56 1994
--- Makefile Sun Jun 26 19:02:54 1994
***************
*** 7,13 ****
LDADD= -lskey
beforeinstall:
! install -c -m 755 ${.CURDIR}/skeyaudit.sh ${BINDIR}/skeyaudit
! install -c -m 755 ${.CURDIR}/skeyinfo.sh ${BINDIR}/skeyinfo
.include <bsd.prog.mk>
--- 7,13 ----
LDADD= -lskey
beforeinstall:
! install -c -m 755 ${.CURDIR}/skeyaudit.sh ${DESTDIR}${BINDIR}/skeyaudit
! install -c -m 755 ${.CURDIR}/skeyinfo.sh ${DESTDIR}${BINDIR}/skeyinfo
.include <bsd.prog.mk>
------------------------------------------------------------------------------