diff options
author | bde <bde@FreeBSD.org> | 1998-07-07 23:32:39 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-07-07 23:32:39 +0000 |
commit | 6703231167c2af9834c285d11b0ea58210cda0d4 (patch) | |
tree | 9cb6792787b2c19c197ae5657a90167dee8427a9 /gnu/usr.bin | |
parent | 9a86d955263830f17f1313eab976ba925dcc6bf0 (diff) | |
download | FreeBSD-src-6703231167c2af9834c285d11b0ea58210cda0d4.zip FreeBSD-src-6703231167c2af9834c285d11b0ea58210cda0d4.tar.gz |
Use the installed version of perl for `make depend'. It is now
bootstrapped by `make world'. The version just built in ".."
normally won't work if the target system is not binary compatible.
The bootstrapped version has a better chance of working.
This makes the fixes and bugs in the previous 3 commits irrelevant.
Rev.1.11 was just wrong and rev.1.10 became unnecessary when
perl/perl was added to build-tools. Don't expect to build perl/usub
without using `make world' or equivalent if you don't have perl
installed.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/perl/usub/Makefile | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/gnu/usr.bin/perl/usub/Makefile b/gnu/usr.bin/perl/usub/Makefile index b9859fa..b9148b4 100644 --- a/gnu/usr.bin/perl/usub/Makefile +++ b/gnu/usr.bin/perl/usub/Makefile @@ -1,3 +1,5 @@ +# $Id$ + PROG= curseperl # From perl @@ -15,21 +17,8 @@ CLEANFILES+= curses.c VPATH+= ${.CURDIR}/../perl NOMAN= yes -# If perl exists in none of these places, something is horribly wrong. -.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 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 + perl ${.CURDIR}/mus ${.CURDIR}/curses.mus > curses.c .include "../../Makefile.inc" .include <bsd.prog.mk> |