aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2002-09-19 16:36:19 +0800
committerache <ache@FreeBSD.org>2002-09-19 16:36:19 +0800
commit9b50963fc42ecb670eafffd68889b78853454ed5 (patch)
treee66d97f4fbff52ed9f0a93f78a1530913097bf0c
parente9eca3c79b5a5611524289bd8945d35fb7048463 (diff)
downloadfreebsd-ports-gnome-9b50963fc42ecb670eafffd68889b78853454ed5.tar.gz
freebsd-ports-gnome-9b50963fc42ecb670eafffd68889b78853454ed5.tar.zst
freebsd-ports-gnome-9b50963fc42ecb670eafffd68889b78853454ed5.zip
If not exists ${X11BASE}/bin/xlsfonts, define WITHOUT_X11, so
remove BROKEN state for configure
-rw-r--r--www/WebMagick/Makefile6
1 files 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