Date: Mon, 24 Dec 2001 15:33:56 -0800 (PST) From: Hye-Shik Chang <perky@fallin.lv> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/33157: Fix port: graphics/graphviz Message-ID: <200112242333.fBONXuC49267@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 33157 >Category: ports >Synopsis: Fix port: graphics/graphviz >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Dec 24 15:40:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Hye-Shik Chang >Release: FreeBSD 4.4 >Organization: Yonsei University >Environment: FreeBSD kornet.hanirc.org 4.4-STABLE FreeBSD 4.4-STABLE #0: Mon Sep 24 14:46:54 KST 2001 root@kornet.hanirc.org:/home/src/sys/compile/HANIRC i386 >Description: graphviz port fails on linking when system has iconv.h, because gd/gdkanji.c compiles iconv-dependent codes when HAVE_ICONV_H || HAVE_ICONV. But, it doesn't links -liconv. >How-To-Repeat: >Fix: diff -ruN graphviz.orig/Makefile graphviz/Makefile --- graphviz.orig/Makefile Tue Dec 25 00:17:29 2001 +++ graphviz/Makefile Tue Dec 25 08:27:13 2001 @@ -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 @@ 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 @@ .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112242333.fBONXuC49267>