From linimon@lonesome.com  Wed Jul  9 16:34:57 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 7CAAA37B401; Wed,  9 Jul 2003 16:34:57 -0700 (PDT)
Received: from mail.soaustin.net (mail.soaustin.net [207.200.4.66])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 81ADD43FBD; Wed,  9 Jul 2003 16:34:54 -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 805FF142D7; Wed,  9 Jul 2003 18:34:53 -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 h69NcTNa067349;
	Wed, 9 Jul 2003 18:38:29 -0500 (CDT)
	(envelope-from linimon@lonesome.lonesome.com)
Received: (from linimon@localhost)
	by lonesome.lonesome.com (8.12.9/8.12.6/Submit) id h69NcSJB067348;
	Wed, 9 Jul 2003 18:38:28 -0500 (CDT)
	(envelope-from linimon)
Message-Id: <200307092338.h69NcSJB067348@lonesome.lonesome.com>
Date: Wed, 9 Jul 2003 18:38:28 -0500 (CDT)
From: Mark Linimon <linimon@lonesome.com>
Reply-To:
To: FreeBSD-gnats-submit@FreeBSD.org
Cc: sanpei@FreeBSD.org
Subject: [patch][non-maintainer] fix imake dependency in japanese/iv
X-Send-Pr-Version: 3.113.1
X-GNATS-Notify:

>Number:         54290
>Category:       ports
>Synopsis:       [patch] [non-maintainer] fix imake dependency in japanese/iv
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sanpei
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 09 16:40:10 PDT 2003
>Closed-Date:    Mon Aug 04 11:09:27 PDT 2003
>Last-Modified:  Wed Jan 14 20:32:09 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.

--- iv/Makefile.dist	Tue Feb 25 18:28:34 2003
+++ iv/Makefile	Wed Jul  9 18:29:29 2003
@@ -21,9 +21,15 @@
 MAINTAINER=	sanpei@FreeBSD.org
 COMMENT=	A toolkit from Stanford University and Silicon Graphics + Japanese patches
 
+.include <bsd.port.pre.mk>
+
 # Warning: we cannot use USE_IMAKE.
+.if ${XFREE86_VERSION} == 3
 BUILD_DEPENDS=	imake:${PORTSDIR}/devel/imake
-
+.else
+BUILD_DEPENDS=	imake:${PORTSDIR}/devel/imake-4
+.endif
+ 
 USE_XLIB=	yes
 DIST_SUBDIR=	iv
 WRKSRC=		${WRKDIR}/iv
@@ -65,8 +71,6 @@
 		pspaint.n remind.n rpcbuf.n rpcstream.n splines.n \
 		statevars.n stateviews.n struct.n transfns.n \
 		transforms.n uctrls.n viewcmds.n
-
-.include <bsd.port.pre.mk>
 
 INSTALLS_SHLIB=	yes
 .if ${PORTOBJFORMAT} == "elf"
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sanpei 
Responsible-Changed-By: arved 
Responsible-Changed-When: Wed Jul 23 09:17:54 PDT 2003 
Responsible-Changed-Why:  
over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=54290 
State-Changed-From-To: open->closed 
State-Changed-By: sanpei 
State-Changed-When: Mon Aug 4 11:08:55 PDT 2003 
State-Changed-Why:  
Committed, thanks 

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