From 83f0ecb7d74236f2cd689c4ed865f81c6d07c07b Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Thu, 19 Sep 2002 08:36:19 +0000 Subject: [PATCH] If not exists ${X11BASE}/bin/xlsfonts, define WITHOUT_X11, so remove BROKEN state for configure --- www/WebMagick/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/www/WebMagick/Makefile b/www/WebMagick/Makefile index 40bb87852ae4..ed6ca77218e7 100644 --- a/www/WebMagick/Makefile +++ b/www/WebMagick/Makefile @@ -15,8 +15,6 @@ DISTNAME= ${PORTNAME}-2.03pre1 MAINTAINER= ache@freebsd.org -BROKEN= "Configure fails" - LIB_DEPENDS= Magick.5:${PORTSDIR}/graphics/ImageMagick USE_PERL5= yes @@ -28,6 +26,10 @@ CONFIGURE_ENV= webmagick_cv_rootpath=${PREFIX}/www/data \ webmagick_cv_maptype=ncsa \ PERL=${PERL} +.if !exists(${X11BASE}/bin/xlsfonts) +WITHOUT_X11= yes +.endif + .if defined(WITHOUT_X11) CONFIGURE_ENV+=with_x=no .endif