diff --git a/gnu/usr.bin/perl/usub/Makefile b/gnu/usr.bin/perl/usub/Makefile index b9859fa0a60c..b9148b41eae7 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