diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2003-10-16 05:14:10 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2003-10-16 05:14:10 +0000 |
commit | 8b02c99cb51b084ecde6ff1111aa77effb240b8b (patch) | |
tree | 2dc19f03f2144e6e4ec22a98fad4ccc3dee2ffce /graphics | |
parent | Add USE_XLIB to make the port building on bento. (diff) |
Give an explicit dependency on libiconv to resolve consumer
port's problem on automated build environment.
Spotted by: kris
Notes
Notes:
svn path=/head/; revision=91393
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/graphviz/Makefile | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile index 49008b66b4bf..9e7a4aa214b0 100644 --- a/graphics/graphviz/Makefile +++ b/graphics/graphviz/Makefile @@ -7,6 +7,7 @@ PORTNAME= graphviz PORTVERSION= 1.10 +PORTREVISION= 1 CATEGORIES= graphics tk84 MASTER_SITES= http://www.graphviz.org/pub/graphviz/ARCHIVE/ @@ -16,7 +17,8 @@ COMMENT= Graph Visualization Software from AT&T and Bell Labs LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ png.5:${PORTSDIR}/graphics/png \ freetype.9:${PORTSDIR}/print/freetype2 \ - tk84.1:${PORTSDIR}/x11-toolkits/tk84 + tk84.1:${PORTSDIR}/x11-toolkits/tk84 \ + iconv.3:${PORTSDIR}/converters/libiconv USE_XPM= yes USE_GMAKE= yes @@ -31,7 +33,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/tcl8.4 -I AUTOCONF=${LOCALBASE}/bin/autoconf213 \ AUTOMAKE=${LOCALBASE}/bin/automake14 \ ACLOCAL=${LOCALBASE}/bin/aclocal14 -CONFIGURE_ARGS= --program-transform-name="s/x/x/" +CONFIGURE_ARGS= --program-transform-name="s/x/x/" \ + --with-iconvlibdir=${LOCALBASE}/lib INSTALLS_SHLIB= yes LDCONFIG_DIRS= ${PREFIX}/lib/graphviz MAKE_ENV= EXPR_COMPAT=yes @@ -45,13 +48,6 @@ 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.3:${PORTSDIR}/converters/libiconv -CONFIGURE_ARGS+= --with-iconvlibdir=${LOCALBASE}/lib -.endif - post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @@ -60,4 +56,4 @@ post-install: .endfor .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |