From doc@pr93.lublin.sdi.tpnet.pl  Wed Jan  2 13:19:48 2002
Return-Path: <doc@pr93.lublin.sdi.tpnet.pl>
Received: from pr93.lublin.sdi.tpnet.pl (pr93.lublin.sdi.tpnet.pl [217.97.36.93])
	by hub.freebsd.org (Postfix) with ESMTP id B30CC37B422
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  2 Jan 2002 13:19:31 -0800 (PST)
Received: (from doc@localhost)
	by pr93.lublin.sdi.tpnet.pl (8.11.6/8.11.6) id g02LOBt40173;
	Wed, 2 Jan 2002 22:24:11 +0100 (CET)
	(envelope-from doc)
Message-Id: <200201022124.g02LOBt40173@pr93.lublin.sdi.tpnet.pl>
Date: Wed, 2 Jan 2002 22:24:11 +0100 (CET)
From: Michal Pasternak <doc@lublin.t1.pl>
Reply-To: Michal Pasternak <doc@lublin.t1.pl>
To: FreeBSD-gnats-submit@freebsd.org
Cc: doc@safenet.pl
Subject: PORT UPDATE: devel/mingw
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         33485
>Category:       ports
>Synopsis:       PORT UPDATE: devel/mingw
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    knu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 02 13:20:01 PST 2002
>Closed-Date:    Thu Jan 17 04:54:04 JST 2002
>Last-Modified:  Thu Jan 17 05:12:36 JST 2002
>Originator:     Michal Pasternak
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD pr93.lublin.sdi.tpnet.pl 4.4-STABLE FreeBSD 4.4-STABLE #14: Mon Nov 26 05:27:32 CET 2001 doc@pr93.lublin.sdi.tpnet.pl:/usr/obj/usr/src/sys/DOCUS i386
>Description:

   A new version of Mingw32.
   
   Please make sure to add 'mingw-opengl-headers' also (I send it in another
   PR, at the same time I send this PR). The library will have OpenGL support
   then. This ports depends on 'mingw-opengl-headers'

>How-To-Repeat:
>Fix:
diff -ru mingw.orig/Makefile mingw/Makefile
--- mingw.orig/Makefile	Sat Dec 29 21:16:00 2001
+++ mingw/Makefile	Sat Dec 29 16:59:49 2001
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	mingw
-PORTVERSION=	20010726
+PORTVERSION=	20011229
 CATEGORIES=	devel
 MASTER_SITES=	# empty
 DISTFILES=	# empty
@@ -15,7 +15,8 @@
 
 RUN_DEPENDS=	i386-mingw32msvc-as:${PORTSDIR}/devel/mingw-binutils \
 		mingwm10.dll:${PORTSDIR}/devel/mingw-bin-msvcrt \
-		i386-mingw32msvc-gcc:${PORTSDIR}/devel/mingw-gcc
+		i386-mingw32msvc-gcc:${PORTSDIR}/devel/mingw-gcc \
+		${NONEXISTENT}:${PORTSDIR}/devel/mingw-opengl-headers
 
 NO_BUILD=	yes
 
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->knu 
Responsible-Changed-By: knu 
Responsible-Changed-When: Thu Jan 17 03:18:23 JST 2002 
Responsible-Changed-Why:  
I'll handle this. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=33485 
State-Changed-From-To: open->closed 
State-Changed-By: knu 
State-Changed-When: Thu Jan 17 04:54:04 JST 2002 
State-Changed-Why:  
Committed, thanks. 

I conditionalized the addition of the mingw-opengl-headers dependency 
so that it is not added on the package building cluster, because depending 
on a restricted port keeps the cluster from building a package.  I believe 
the mingw package should be on the 4.5-RELEASE CD-ROM. :) 

By the way, you cannot use ${NONEXISTENT} for RUN_DEPENDS entries because 
it makes the ports system unconditionally try to install the requistes. 
${NONEXISTENT} is for BUILD_DEPENDS entries with explicit targets such as 
"extract" and "configure". 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=33485 
>Unformatted:
