diff options
author | jb <jb@FreeBSD.org> | 1998-05-12 22:32:03 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-05-12 22:32:03 +0000 |
commit | d7b2905312267e61927b83622c1896f6ea958edc (patch) | |
tree | 62237779742dd15f1502f68a1aa375dec2a94655 | |
parent | ad6cba6f817bece48f374a7755f7688f3b4c37b4 (diff) | |
download | FreeBSD-src-d7b2905312267e61927b83622c1896f6ea958edc.zip FreeBSD-src-d7b2905312267e61927b83622c1896f6ea958edc.tar.gz |
Change .if to .elif to prevent the current directory path search for a
perl executable from overriding the object directory path search where
perl is most likely to be. Most people haven't seen this because it
defaulted to /usr/bin/perl which might be OK as a fallback, but when
bootstrapping a new version (or the *first* version on alpha), we don't
really want to use /usr/bin/perl.
-rw-r--r-- | gnu/usr.bin/perl/usub/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gnu/usr.bin/perl/usub/Makefile b/gnu/usr.bin/perl/usub/Makefile index a6c7259..63b1949 100644 --- a/gnu/usr.bin/perl/usub/Makefile +++ b/gnu/usr.bin/perl/usub/Makefile @@ -18,8 +18,7 @@ NOMAN= yes # If perl exists in none of these places, something is horribly wrong. .if exists(${.OBJDIR}/../perl/perl) PERL=${.OBJDIR}/../perl/perl -.endif -.if !defined(PERL) && exists(${.CURDIR}/../perl/perl) +.elif !defined(PERL) && exists(${.CURDIR}/../perl/perl) PERL=${.CURDIR}/../perl/perl .else PERL= /usr/bin/perl |