From linimon@lonesome.com  Wed Jul  9 16:23:58 2003
Return-Path: <linimon@lonesome.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3970C37B401
	for <FreeBSD-gnats-submit@FreeBSD.org>; Wed,  9 Jul 2003 16:23:58 -0700 (PDT)
Received: from mail.soaustin.net (mail.soaustin.net [207.200.4.66])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A15D243F3F
	for <FreeBSD-gnats-submit@FreeBSD.org>; Wed,  9 Jul 2003 16:23:57 -0700 (PDT)
	(envelope-from linimon@lonesome.com)
Received: from lonesome.lonesome.com (cs242746-11.austin.rr.com [24.27.46.11])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(No client certificate requested)
	by mail.soaustin.net (Postfix) with ESMTP
	id 8243E140CD; Wed,  9 Jul 2003 18:23:56 -0500 (CDT)
Received: from lonesome.lonesome.com (localhost.lonesome.com [127.0.0.1])
	by lonesome.lonesome.com (8.12.9/8.12.3) with ESMTP id h69NRWNa059456;
	Wed, 9 Jul 2003 18:27:33 -0500 (CDT)
	(envelope-from linimon@lonesome.lonesome.com)
Received: (from linimon@localhost)
	by lonesome.lonesome.com (8.12.9/8.12.6/Submit) id h69NRVxT059455;
	Wed, 9 Jul 2003 18:27:31 -0500 (CDT)
	(envelope-from linimon)
Message-Id: <200307092327.h69NRVxT059455@lonesome.lonesome.com>
Date: Wed, 9 Jul 2003 18:27:31 -0500 (CDT)
From: Mark Linimon <linimon@lonesome.com>
Reply-To:
To: FreeBSD-gnats-submit@FreeBSD.org
Cc: johnston@vectaport.com
Subject: [patch][non-maintainer] fix imake dependency in graphics/ivtools
X-Send-Pr-Version: 3.113.1
X-GNATS-Notify:

>Number:         54289
>Category:       ports
>Synopsis:       [patch] [non-maintainer] fix imake dependency in graphics/ivtools
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 09 16:30:05 PDT 2003
>Closed-Date:    Wed Jul 23 09:46:24 PDT 2003
>Last-Modified:  Wed Jan 14 20:32:02 UTC 2009
>Originator:     Mark Linimon
>Release:        FreeBSD-4.7
>Organization:
FreeBSD
>Environment:
System: FreeBSD lonesome.lonesome.com 4.7-STABLE FreeBSD 4.7-STABLE #0: Fri Nov 8 23:46:29 CST 2002 root@lonesome.lonesome.com:/usr/src/sys/compile/MULTIMEDIA i386
>Description:
	Three ports in /usr/ports/INDEX still show dependencies on imake-1.0.
	In each case these are remnants of old (XFree86 3.X) technology.
	(It turns out that various dependencies brought in imake-4.0
	in any case, but there is no reason to drag imake-1.0 in any more).
>How-To-Repeat:
	n/a
>Fix:
	This patch brings this port into line with existing usage
	in other ports.  I haven't tested it with XFree86 3.X; that
	is left as an exercise for the reader.

--- ivtools/Makefile.dist	Fri Feb 21 07:15:52 2003
+++ ivtools/Makefile	Wed Jul  9 16:00:28 2003
@@ -15,7 +15,13 @@
 MAINTAINER=	johnston@vectaport.com
 COMMENT=	Drawing editors derived from idraw
 
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 3
 BUILD_DEPENDS=	imake:${PORTSDIR}/devel/imake
+.else
+BUILD_DEPENDS=	imake:${PORTSDIR}/devel/imake-4
+.endif
 
 USE_XLIB=	yes
 GNU_CONFIGURE=	yes
@@ -24,4 +30,4 @@
 MANCOMPRESSED=	no
 MAN1=	idraw.1 iclass.1 drawtool.1 comterp.1 comdraw.1 flipbook.1 graphdraw.1
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: arved 
State-Changed-When: Wed Jul 23 09:46:19 PDT 2003 
State-Changed-Why:  
committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=54289 
>Unformatted:
