diff options
author | thierry <thierry@FreeBSD.org> | 2004-08-03 06:59:23 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2004-08-03 06:59:23 +0800 |
commit | 3ab87bc34f5b1ff4f2d27ca671edbb3902657f9c (patch) | |
tree | 3efaa7b06c5a1afb19b9ef2524751c7ff7412f8a /www/wml | |
parent | 0e27239def32f1a1eb4840800c9ae28eab883afa (diff) | |
download | freebsd-ports-graphics-3ab87bc34f5b1ff4f2d27ca671edbb3902657f9c.tar.gz freebsd-ports-graphics-3ab87bc34f5b1ff4f2d27ca671edbb3902657f9c.tar.zst freebsd-ports-graphics-3ab87bc34f5b1ff4f2d27ca671edbb3902657f9c.zip |
Prevent a possible breakage on machines without perl installed.
A better solution will be found to avoid "!= perl" (suggested by eik).
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 f117333bb8f..9852325a43a 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)" |