summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-05-12 22:51:34 +0000
committerjb <jb@FreeBSD.org>1998-05-12 22:51:34 +0000
commit857a75046267d0b96b6a5f9a0ea9ea207c38e6f2 (patch)
treebfcd66003570ee3162237bb53a3348b6b05547b7 /gnu
parentd7b2905312267e61927b83622c1896f6ea958edc (diff)
downloadFreeBSD-src-857a75046267d0b96b6a5f9a0ea9ea207c38e6f2.zip
FreeBSD-src-857a75046267d0b96b6a5f9a0ea9ea207c38e6f2.tar.gz
If perl exists in OBJDIR it has just been built; if it exists in
CURDIR it has been built without an obj directory; however if it is in neither of those places, we expect it to be in DESTDIR. Yes Bruce, I know this is broken because the host is not supposed to be the same as the target, but we need to get the hosted build working properly first before even attempting a cross compiled operating system build. That will need to concept of TOOLSDIR or something that can be mapped to DESTDIR in the case of a hosted build and set to the installed tools in a cross compiled build. Later, later, later!
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/perl/usub/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/perl/usub/Makefile b/gnu/usr.bin/perl/usub/Makefile
index 63b1949..7b9189e 100644
--- a/gnu/usr.bin/perl/usub/Makefile
+++ b/gnu/usr.bin/perl/usub/Makefile
@@ -21,7 +21,7 @@ PERL=${.OBJDIR}/../perl/perl
.elif !defined(PERL) && exists(${.CURDIR}/../perl/perl)
PERL=${.CURDIR}/../perl/perl
.else
-PERL= /usr/bin/perl
+PERL= ${DESTDIR}/usr/bin/perl
.endif
curses.c: curses.mus
OpenPOWER on IntegriCloud