diff options
author | pat <pat@FreeBSD.org> | 2002-02-25 01:34:22 +0800 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-02-25 01:34:22 +0800 |
commit | 4a70cf39134b7f7395eee7a9047e5d3c4a1f7692 (patch) | |
tree | 0e07e90c74caaf8192420a17b4892c3a5e9f6bac /graphics/graphviz | |
parent | 3a437e285e2589901af4810912d84f04acf26989 (diff) | |
download | freebsd-ports-gnome-4a70cf39134b7f7395eee7a9047e5d3c4a1f7692.tar.gz freebsd-ports-gnome-4a70cf39134b7f7395eee7a9047e5d3c4a1f7692.tar.zst freebsd-ports-gnome-4a70cf39134b7f7395eee7a9047e5d3c4a1f7692.zip |
Fix build problem if converters/iconv is installed
PR: 33157
Submitted by: maintainer
Diffstat (limited to 'graphics/graphviz')
-rw-r--r-- | graphics/graphviz/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile index 13379c720725..89cee0401a6f 100644 --- a/graphics/graphviz/Makefile +++ b/graphics/graphviz/Makefile @@ -7,6 +7,7 @@ PORTNAME= graphviz PORTVERSION= 1.7.7 +PORTREVISION= 1 CATEGORIES= graphics tk83 MASTER_SITES= http://www.research.att.com/sw/tools/graphviz/dist/ EXTRACT_SUFX= .tgz @@ -38,6 +39,13 @@ MANN= gdtclft.n tcldgl.n tcldgr.n tcldot.n tkspline.n PORTDOCS= dotguide.pdf dottyguide.pdf gd.html leftyguide.pdf \ neatoguide.pdf tcldot.html Dot.ref FAQ.html +.include <bsd.port.pre.mk> + +.if exists(${LOCALBASE}/include/iconv.h) || defined(WITH_ICONV) +LIB_DEPENDS+= iconv.2:${PORTSDIR}/converters/iconv +CONFIGURE_ENV+= LIBS="-liconv" +.endif + post-extract: @${RM} ${WRKSRC}/cdt/ast_common.h @@ -52,4 +60,4 @@ post-install: .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |