From 24b7d817bd4b62df0451d98c14e37701d31b8325 Mon Sep 17 00:00:00 2001
From: Edwin Groothuis <edwin@FreeBSD.org>
Date: Sat, 29 Mar 2003 01:23:56 +0000
Subject: devel/ups only compiles under -STABLE on i386

PR:		ports/50342
Submitted by:	Sergei Kolobov <sergei@kolobov.com>
---
 devel/ups-debug/Makefile | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/devel/ups-debug/Makefile b/devel/ups-debug/Makefile
index 391a2e2de50b..75dd185a249a 100644
--- a/devel/ups-debug/Makefile
+++ b/devel/ups-debug/Makefile
@@ -24,6 +24,14 @@ ALL_TARGET=	ups
 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 @@ post-install:
 .endif
 	${INSTALL_DATA} ${WRKSRC}/Ups ${X11BASE}/lib/X11/app-defaults
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0