ports/54292: [patch] fix imake dependency in x11-toolkits/viewklass

Mark Linimon linimon at lonesome.com
Wed Jul 9 23:50:13 UTC 2003


>Number:         54292
>Category:       ports
>Synopsis:       [patch] fix imake dependency in x11-toolkits/viewklass
>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:50:09 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.

--- viewklass/Makefile.dist	Sat Jun  7 14:08:34 2003
+++ viewklass/Makefile	Wed Jul  9 18:40:11 2003
@@ -16,14 +16,19 @@
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	C++ Framework for Motif
 
+.include <bsd.port.pre.mk>
+
+BUILD_DEPENDS=	xmkmf:${PORTSDIR}/devel/imake
+.if ${XFREE86_VERSION} == 3
 BUILD_DEPENDS=	xmkmf:${PORTSDIR}/devel/imake
+.else
+BUILD_DEPENDS=	xmkmf:${PORTSDIR}/devel/imake-4
+.endif
 
 USE_X_PREFIX=	yes
 USE_MOTIF=	yes
 USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
-
-.include <bsd.port.pre.mk>
 
 .if ${OSVERSION} >= 500113
 BROKEN=         "Does not compile (bad C++ code)"
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list