mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
If not exists ${X11BASE}/bin/xlsfonts, define WITHOUT_X11, so
remove BROKEN state for configure
This commit is contained in:
parent
4e32857159
commit
83f0ecb7d7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=66690
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user