diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2004-08-02 22:59:23 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2004-08-02 22:59:23 +0000 |
commit | bc44844ec74b1de0e6c510d44990608f9e44bb4f (patch) | |
tree | 8bca86c6f93161143ca3d8bb565390f8d9d75790 /www/wml | |
parent | b890c00f4687b2513d495aded5e3c0d4eac9747e (diff) |
Prevent a possible breakage on machines without perl installed.
A better solution will be found to avoid "!= perl" (suggested by eik).
Notes
Notes:
svn path=/head/; revision=115315
Diffstat (limited to 'www/wml')
-rw-r--r-- | www/wml/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/www/wml/Makefile b/www/wml/Makefile index f117333bb8fe..9852325a43a9 100644 --- a/www/wml/Makefile +++ b/www/wml/Makefile @@ -58,7 +58,11 @@ MAN7= wml_intro.7 wml_macros.7 wml_tutorial.7 wml_faq.7 wml_tags.7 .include <bsd.port.pre.mk> +.if exists(${PERL5}) LOCAL_PERL_ARCH!= ${PERL5} -MConfig -e 'print "$$Config{archname}"' +.else +LOCAL_PERL_ARCH= ${ARCH}-freebsd +.endif .if ${ARCH} == "amd64" BROKEN= "Build fails on amd64 (needs to build shared libraries with -fPIC)" |