Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jul 2003 18:44:09 -0500 (CDT)
From:      Mark Linimon <linimon@lonesome.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/54292: [patch] fix imake dependency in x11-toolkits/viewklass
Message-ID:  <200307092344.h69Ni9N1092278@lonesome.lonesome.com>
Resent-Message-ID: <200307092350.h69No9v8065605@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307092344.h69Ni9N1092278>