diff options
author | jkh <jkh@FreeBSD.org> | 1998-05-29 06:16:44 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1998-05-29 06:16:44 +0000 |
commit | 10859a0eb59591b87dc70f3fd0847159a1edaa63 (patch) | |
tree | c5692c8637022ac6b8ce1bace1c206f84069d83a /gnu | |
parent | 3121ab6679bf3587191441f0437bd52c0c447c15 (diff) | |
download | FreeBSD-src-10859a0eb59591b87dc70f3fd0847159a1edaa63.zip FreeBSD-src-10859a0eb59591b87dc70f3fd0847159a1edaa63.tar.gz |
Also check for Satoshi's TMPDIR location of perl when looking around for it.
Clean up an .ifdef which was probably doing the wrong thing in the case
where user wants to override PERL.
Submitted by: jhay
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/perl/usub/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/usr.bin/perl/usub/Makefile b/gnu/usr.bin/perl/usub/Makefile index 7b9189e..b9859fa 100644 --- a/gnu/usr.bin/perl/usub/Makefile +++ b/gnu/usr.bin/perl/usub/Makefile @@ -16,13 +16,17 @@ VPATH+= ${.CURDIR}/../perl NOMAN= yes # If perl exists in none of these places, something is horribly wrong. -.if exists(${.OBJDIR}/../perl/perl) +.if !defined(PERL) +.if exists(${.OBJDIR}/../../../../tmp/usr/bin/perl) +PERL=${.OBJDIR}/../../../../tmp/usr/bin/perl +.elif exists(${.OBJDIR}/../perl/perl) PERL=${.OBJDIR}/../perl/perl -.elif !defined(PERL) && exists(${.CURDIR}/../perl/perl) +.elif exists(${.CURDIR}/../perl/perl) PERL=${.CURDIR}/../perl/perl .else PERL= ${DESTDIR}/usr/bin/perl .endif +.endif curses.c: curses.mus ${PERL} ${.CURDIR}/mus ${.CURDIR}/curses.mus > curses.c |