Display the correct directory for the @src directive if -I has been
specified.
This commit is contained in:
parent
281a201c49
commit
83dc57abd5
|
@ -1,11 +1,11 @@
|
|||
/* $NetBSD: perform.c,v 1.26 2001/05/21 09:17:30 agc Exp $ */
|
||||
/* $NetBSD: perform.c,v 1.27 2001/05/21 12:03:53 agc Exp $ */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef lint
|
||||
#if 0
|
||||
static const char *rcsid = "from FreeBSD Id: perform.c,v 1.38 1997/10/13 15:03:51 jkh Exp";
|
||||
#else
|
||||
__RCSID("$NetBSD: perform.c,v 1.26 2001/05/21 09:17:30 agc Exp $");
|
||||
__RCSID("$NetBSD: perform.c,v 1.27 2001/05/21 12:03:53 agc Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -268,7 +268,7 @@ pkg_perform(lpkg_head_t *pkgs)
|
|||
/* If a SrcDir override is set, add it now */
|
||||
if (SrcDir) {
|
||||
if (Verbose && !PlistOnly)
|
||||
printf("Using SrcDir value of %s\n", SrcDir);
|
||||
printf("Using SrcDir value of %s\n", (realprefix) ? realprefix : SrcDir);
|
||||
add_plist(&plist, PLIST_SRC, SrcDir);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue