ports/54290: [patch][non-maintainer] fix imake dependency in japanese/iv

Mark Linimon linimon at lonesome.com
Wed Jul 9 23:40:12 UTC 2003


>Number:         54290
>Category:       ports
>Synopsis:       [patch][non-maintainer] fix imake dependency in japanese/iv
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 09 16:40:10 PDT 2003
>Closed-Date:
>Last-Modified:
>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 at 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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list