
rdkehn at yahoo
Nov 14, 2009, 7:00 AM
Post #1 of 2
(717 views)
Permalink
|
|
Alternate Install Location Patch Proposal
|
|
Hi All, Below (and attached) is a patch that will allow openssh to be installed in an alternate location. This is essential when cross-compiling. The cross-compile use case is: configure [bunch-of-options] make DESTDIR=<alt-location> make install-nokeys I believe the patch may also be useful for non-cross-compiling cases. Regards, ...doug ---8<----- diff -uraN openssh-5.3p1.orig/Makefile.in openssh-5.3p1/Makefile.in --- openssh-5.3p1.orig/Makefile.in 2009-08-27 19:47:38.000000000 -0500 +++ openssh-5.3p1/Makefile.in 2009-11-14 08:02:29.000000000 -0600 @@ -19,7 +19,7 @@ srcdir=@srcdir@ top_srcdir=@top_srcdir@ -DESTDIR= +DESTDIR?= VPATH=@srcdir@ SSH_PROGRAM=@bindir@/ssh ASKPASS_PROGRAM=$(libexecdir)/ssh-askpass
|