diff options
author | jhay <jhay@FreeBSD.org> | 1998-06-02 18:28:55 +0000 |
---|---|---|
committer | jhay <jhay@FreeBSD.org> | 1998-06-02 18:28:55 +0000 |
commit | 9a2ca3371add0a2c34d18d4904d75060227e3180 (patch) | |
tree | 80be4303b9e223894f2a9562d09270f32a862581 /Makefile | |
parent | 74cae44c57d1800678c42f4cb7cbfe7565d398e9 (diff) | |
download | FreeBSD-src-9a2ca3371add0a2c34d18d4904d75060227e3180.zip FreeBSD-src-9a2ca3371add0a2c34d18d4904d75060227e3180.tar.gz |
Don't build perl in build-tools: if NOPERL is defined.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -1,5 +1,5 @@ # -# $Id: Makefile,v 1.191 1998/06/01 18:29:11 peter Exp $ +# $Id: Makefile,v 1.192 1998/06/02 11:22:08 peter Exp $ # # While porting to the another architecture include the bootstrap instead # of the normal build. @@ -699,6 +699,13 @@ libraries: cd ${.CURDIR}/kerberosIV/lib; ${MAKE} all; ${MAKE} -B install .endif +# Exclude perl from the build-tools if NOPERL is defined. +.if defined(NOPERL) +_perl= +.else +_perl= gnu/usr.bin/perl/perl +.endif + # # build-tools - build and install any other tools needed to complete the # compile and install. @@ -732,7 +739,7 @@ build-tools: gnu/usr.bin/gzip \ gnu/usr.bin/man/makewhatis \ gnu/usr.bin/patch \ - gnu/usr.bin/perl/perl \ + ${_perl} \ gnu/usr.bin/sort \ gnu/usr.bin/texinfo \ usr.bin/basename \ |