Subject: re: CVS commit: sharesrc
To: None <mycroft@netbsd.org>
From: matthew green <mrg@eterna.com.au>
List: source-changes
Date: 04/06/2000 18:30:59
   
   Module Name:	sharesrc
   Committed By:	mycroft
   Date:		Sat Mar 25 23:15:13 UTC 2000
   
   Modified Files:
   	sharesrc/share/mk: bsd.prog.mk
   
   Log Message:
   When linking with $DESTDIR, use an explicit -R to get library dependencies
   correct.

this is the changed line:

-      ${CC} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} -nostdlib -L${DESTDIR}/usr/lib ${LIBCRT0} ${LIBCRTBEGIN} ${OBJS} ${LDADD} -lgcc -lc -lgcc ${LIBCRTEND}
+      ${CC} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} -nostdlib -L${DESTDIR}/usr/lib -R${DESTDIR}/usr/lib ${LIBCRT0} ${LIBCRTBEGIN} ${OBJS} ${LDADD} -lgcc -lc -lgcc ${LIBCRTEND}


it seems to be that this is wrong.  we do *not* want to write $DESTDIR/usr/lib
as the runtime path into each binary.. i want my install binaries to use the
normal, standard, path, not some random, ah-hoc directory, that i decided to
use as my $DESTDIR for this build.