From sgk@outpost.globcon.net  Thu Mar 27 04:22:41 2003
Return-Path: <sgk@outpost.globcon.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id EAC2537B401
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 27 Mar 2003 04:22:41 -0800 (PST)
Received: from outpost.lukarcos.com (outpost.globcon.net [62.141.88.161])
	by mx1.FreeBSD.org (Postfix) with SMTP id 928CD43FBD
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 27 Mar 2003 04:22:40 -0800 (PST)
	(envelope-from sgk@outpost.globcon.net)
Received: (qmail 19102 invoked by uid 911); 27 Mar 2003 12:22:41 -0000
Message-Id: <20030327122241.19101.qmail@outpost.globcon.net>
Date: 27 Mar 2003 12:22:41 -0000
From: Sergei Kolobov <sergei@kolobov.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] devel/ups only compiles under -STABLE on i386
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         50342
>Category:       ports
>Synopsis:       [MAINTAINER] devel/ups only compiles under -STABLE on i386
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 27 04:30:14 PST 2003
>Closed-Date:    Fri Mar 28 17:24:05 PST 2003
>Last-Modified:  Fri Mar 28 17:24:05 PST 2003
>Originator:     Sergei Kolobov
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD outpost.globcon.net 4.7-STABLE FreeBSD 4.7-STABLE #0: Thu Jan  2 03:13:48 MSK
>Description:
- The port compiles only under -STABLE on i386.
  Mark it BROKEN on all other plaforms and IGNORE in bento builds.

I will work with ups developers to try to resolve the issue 
(at least for -CURRENT on i386).
>How-To-Repeat:
>Fix:
--- ups-3.38.b1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/ups-debug/Makefile,v
retrieving revision 1.26
diff -u -r1.26 Makefile
--- Makefile	2003/02/21 11:23:03	1.26
+++ Makefile	2003/03/27 12:19:22
@@ -24,6 +24,14 @@
 MAN1=		ups.1
 DOCS=		CHANGES FAQ README
 
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != i386 || ${OSVERSION} > 500000
+BROKEN=	"compiles only under -STABLE on i386"
+# Avoid building packages on bento for unsupported platforms
+IGNORE=	${BROKEN}
+.endif
+
 post-install:
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
@@ -33,4 +41,4 @@
 .endif
 	${INSTALL_DATA} ${WRKSRC}/Ups ${X11BASE}/lib/X11/app-defaults
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- ups-3.38.b1.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Fri Mar 28 17:24:00 PST 2003 
State-Changed-Why:  
Commited, thanks! 

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