Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2012 15:48:21 GMT
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/164638: Mk/bsd.port.mk -- architecture and OS version dependent port building
Message-ID:  <201201301548.q0UFmLGk025949@lucid-nonsense.infracaninophile.co.uk>
Resent-Message-ID: <201201301550.q0UFoAfJ069594@freefall.freebsd.org>

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

>Number:         164638
>Category:       ports
>Synopsis:       Mk/bsd.port.mk -- architecture and OS version dependent port building
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 30 15:50:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Seaman
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
Infracaninophile
>Environment:
System: FreeBSD lucid-nonsense.infracaninophile.co.uk 8.2-STABLE FreeBSD 8.2-STABLE #0 r228845: Fri Dec 23 19:13:12 GMT 2011 root@lucid-nonsense.infracaninophile.co.uk:/usr/obj/usr/src/sys/LUCID-NONSENSE amd64


	
>Description:

This is a respone to Mark Linnimon's message here:

   http://lists.freebsd.org/pipermail/freebsd-ports/2012-January/072590.html

It does basically three things:

  * Removes the NOT_FOR_ARCHS variable and associate functionality.

  * Creates a new BROKEN_OSARCHS variable.  This is largely syntactic
    sugar, meaning that it is no longer necessary to use
    .include <bsd.ports.pre.mk> in order to test ${ARCH} or ${OSVERSION}

  * Creates a new SUPPORTED_OSARCHS variable.  This allows maintainers
    to indicate which architectures they will support, and whether the
    package build cluster should routinely build packages for that port.

Now for the more long-winded explanation bit....

NOT_FOR_ARCHS is frequently misused to indicate temporary build or
installation failures on particular architectures.  The _FOR_ARCHS stuff
should be really only be used to indicate ports designed to work on
specific CPU architectures.  ONLY_FOR_ARCHS exists for this purpose.
The problem with extending it to cover temporary failures is that the
package build cluster will never retry building that port, so there's no
way to tell if changes to the toolchain or updates to the port have
subsequently fixed the problem.

This is where the BROKEN_OSARCHS variable is useful.  This is a list of
achitecture-OS version pairs corresponding to the different environments
used in the package build cluster.  Thus you can easily mark a port as
broken on sparc64-7, rather than having to use a construction like this:

.include <bsd.port.pre.mk>

.if ${ARCH} == "sparc64" && ${OSVERSION} < 800000
BROKEN= compiler dumps core
.endif

.include <bsd.port.post.mk>

(Not using bsd.port.{pre,post}.mk so much should help a bit with index
building times too.)

It's also rather easier to grep for BROKEN_OSARCHS than it is for a
construct like the above.

As BROKEN_OSARCHS ultimately uses the pre-existing BROKEN variable,
setting TRY_BROKEN will allow these ports to be retested.

Finally there is SUPPORTED_OSARCHS, which can be used to indicate policy
about where a port is known to usable.  For regular users it doesn't do
anything except print a warning message if an attempt is made to compile
a port on an unsupported architecture/OS combination.
For the ports build cluster, conditional on PACKAGE_BUILDING being set,
it turns off building on unsupported environments by setting IGNORE.

As the patch stands at the moment, every port will be using the default,
which is to support these architecture/OS combinations:

i386-7 i386-8 i386-9 amd64-7 amd64-8 amd64-9

but the defaults can be modified easily or port-specific settings can be
added.   There is also a TRY_UNSUPPORTED knob to turn on building
packages on all architectures / OS versions.

Finally, all this testing the CPU architecture and the OS version makes
no sense at all for ports that don't install any compiled binaries, such
as shell scripts.  Those ports can define a variable ARCH_INDEP to opt
out of the SUPPORTED_OSARCHS thing altogether.

>How-To-Repeat:
	
>Fix:

	

--- not_for_archs.diff begins here ---
? .AppleDouble
Index: Mk/bsd.port.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.704
diff -u -u -r1.704 bsd.port.mk
--- Mk/bsd.port.mk	30 Jan 2012 12:39:13 -0000	1.704
+++ Mk/bsd.port.mk	30 Jan 2012 14:50:03 -0000
@@ -207,17 +207,69 @@
 #
 # Set these if your port only makes sense to certain architectures.
 # They are lists containing names for them (e.g., "alpha i386").
-# (Defaults: not set.)
+# (Defaults: unset)
 #
 # ONLY_FOR_ARCHS
 #				- Only build ports if ${ARCH} matches one of these.
-# NOT_FOR_ARCHS	- Only build ports if ${ARCH} doesn't match one of these.
 # ONLY_FOR_ARCHS_REASON
 # ONLY_FOR_ARCHS_REASON_${ARCH}
 #				- Reason why it's only for ${ONLY_FOR_ARCHS}s
-# NOT_FOR_ARCHS_REASON
-# NOT_FOR_ARCHS_REASON_${ARCH}
-#				- Reason why it's not for ${NOT_FOR_ARCHS}s
+#
+# Show architecture and OS major version combinations where ported
+# software is expected to operate correctly and for which packages
+# should be built.  Port maintainers are expected to address problems
+# with ports on supported OS versions and architectures.  Where
+# physically feasible, all Tier-1 architectures and all OS versions
+# under active support by the FreeBSD project must be supported.
+# Architecture and OS combinations not listed as supported may or may
+# not work, and maintainers need not feel obliged to address reported
+# problems.
+#
+# OS version and architecture combinations are expressed as
+# ${ARCH}-${OSMAJOR} (eg. amd64-9, i386-10).  The wildcard 'ALL' may
+# be used to indicate support for the default set of either
+# component. Thus i386-ALL means supported on all active supported
+# major OS versions for i386 architecture, whereas ALL-9 means
+# supported on all Tier-1 architectures but only for FreeBSD 9.x. The
+# default setting is ALL-ALL
+#
+# Ports that install no architecture dependent files (eg. shell
+# scripts) can define ARCH_INDEP to opt-out of all supported OS
+# version and architecure tests, implicitly declaring that they are
+# supported on all platforms.
+#
+# ARCH_INDEP    - Define this to declare that this port installs identical
+#                 content irrespective of OS version and system architecture
+# SUPPORTED_OSARCHS
+#               - List of supported architecture-OS combinations this
+#                 port is supported for.  Only build packages if
+#                 ${ARCH}-${OSMAJOR} matches one of these.  (Default:
+#                 ALL-ALL)
+# SUPPORTED_REASONS
+#               - List of reasons why architecture is or is not supported
+#                 on various platforms.  The format is <osarch>:"<reason>"
+#                 The first match is selected, so order from most to least
+#                 specific.
+#                 Example:
+#                   ALL-7:"supported on standard architectures for FreeBSD 7.x"
+#                   ALL-8:"supported on standard architectures for FreeBSD 8.x"
+#                   ALL-ALL:"part of base system"
+#                 (Default: unset)
+#
+# Set these if your port temporarily does not work on certain
+# architectures and OS combinations due to programming errors or other
+# unintentional problems.  Values are lists of architecture-OS
+# combinations as above.  (Defaults: unset)
+# 
+# BROKEN_OSARCHS
+#               - List of architecture-OS combinatins where port is
+#                 known not to work. See BROKEN above.
+# BROKEN_REASONS
+#               - List of reasons why port is broken on
+#                 ${ARCH}-${OSMAJOR}. The format is the same as for
+#                 SUPPORTED_REASONS above.
+#                 (Default: unset)
+#
 # IA32_BINARY_PORT
 #				- Set this instead of ONLY_FOR_ARCHS if the given port
 #				  fetches and installs compiled i386 binaries.
@@ -1195,6 +1247,11 @@
 .endif
 .endif
 
+# Get the operating system major version
+.if !defined(OSMAJOR)
+OSMAJOR=	${OSVERSION:C,.....$,,}
+.endif
+
 MASTERDIR?=	${.CURDIR}
 
 .if ${MASTERDIR} != ${.CURDIR}
@@ -3139,21 +3196,8 @@
 __ARCH_OK?=		1
 .endif
 
-.if defined(NOT_FOR_ARCHS)
-.for __NARCH in ${NOT_FOR_ARCHS}
-.if ${ARCH:M${__NARCH}} != ""
-.undef __ARCH_OK
-.endif
-.endfor
-.endif
-
 .if !defined(__ARCH_OK)
-.if defined(ONLY_FOR_ARCHS)
-IGNORE=		is only for ${ONLY_FOR_ARCHS},
-.else # defined(NOT_FOR_ARCHS)
-IGNORE=		does not run on ${NOT_FOR_ARCHS},
-.endif
-IGNORE+=	while you are running ${ARCH}
+IGNORE=		is only for ${ONLY_FOR_ARCHS}, while you are running ${ARCH}
 
 .if defined(ONLY_FOR_ARCHS_REASON_${ARCH})
 IGNORE+=	(reason: ${ONLY_FOR_ARCHS_REASON_${ARCH}})
@@ -3161,12 +3205,143 @@
 IGNORE+=	(reason: ${ONLY_FOR_ARCHS_REASON})
 .endif
 
-.if defined(NOT_FOR_ARCHS_REASON_${ARCH})
-IGNORE+=	(reason: ${NOT_FOR_ARCHS_REASON_${ARCH}})
-.elif defined(NOT_FOR_ARCHS_REASON)
-IGNORE+=	(reason: ${NOT_FOR_ARCHS_REASON})
 .endif
 
+# Check the machine architectures.  Assume ports are only supported on
+# Tier-1 architectures unless maintainers commit to supporting other
+# achitectures and they have been tested and shown to work there. Skip all
+# this for ports that install entirely architecture independent files.
+
+.if !defined(ARCH_INDEP)
+SUPPORTED_OSARCHS?=			ALL-ALL
+SUPPORTED_REASONS?=	ALL-ALL:"standard Tier-1 architecture and supported OS"
+
+SUPPORTED_OSARCHS_DEFAULT=	amd64-7 amd64-8 amd64-9 \
+							i386-7  i386-8  i386-9
+
+_ARCH_OS=         			${ARCH}-${OSMAJOR}
+_ARCH_WILD=       			ALL-${OSMAJOR}
+_WILD_OS=         			${ARCH}-ALL
+_WILD_WILD=       			ALL-ALL
+
+# Id the current environment one that would be supported by default?
+.  for _osarch_def in ${SUPPORTED_OSARCHS_DEFAULT}
+.    if ${_ARCH_OS} == ${_osarch_def}
+__DEFAULT_OSARCH=	1
+.    endif
+.  endfor
+
+.  for _osarch in ${SUPPORTED_OSARCHS}
+.    if !defined(__SUPPORTED)
+.      if ${_ARCH_OS} == ${_osarch}
+__SUPPORTED=	${_ARCH_OS}
+.      elif defined(__DEFAULT_OSARCH)
+.        if ${_WILD_WILD} == ${_osarch} 
+__SUPPORTED=	${_WILD_WILD}
+.        elif ${_ARCH_WILD} == ${_osarch}
+__SUPPORTED=	${_ARCH_WILD}
+.        elif ${_WILD_OS} == ${_osarch}
+__SUPPORTED=	${_WILD_OS}
+.        endif
+.      endif
+.    endif
+.  endfor
+
+.  for _supported_reason in ${SUPPORTED_REASONS}
+.    if !defined(__SUPPORTED_REASON)
+_osarch=	${_supported_reason:C,:.*$,,}
+_reason=	${_supported_reason:C,^[^:]+:",,:C,"$,,}
+
+.      if ${_ARCH_OS} == ${_osarch}
+__SUPPORTED_REASON=	${_reason}
+.      elif defined(__DEFAULT_OSARCH)
+.        if ${_WILD_WILD} == ${_osarch} 
+__SUPPORTED_REASON=	${_reason}
+.        elif ${_ARCH_WILD} == ${_osarch}
+__SUPPORTED_REASON=	${_reason}
+.        elif ${_WILD_OS} == ${_osarch}
+__SUPPORTED_REASON=	${_reason}
+.        endif
+.      endif
+.    endif
+.  endfor
+
+# Don't build packages for unsupported architectures
+.  if defined(PACKAGE_BUILDING) && !defined(TRY_UNSUPPORTED)
+.    if !defined(__SUPPORTED)
+IGNORE=		unsupported: ${SUPPORTED_OSARCHS} does not match ${_ARCH_OS}
+.      if defined(__SUPPORTED_REASON)
+IGNORE+=	(reason: ${__SUPPORTED_REASON})
+.      endif
+.    endif
+.  endif
+.endif # !defined(ARCH_INDEP)
+
+
+.if defined(BROKEN_OSARCHS)
+
+.  for _osarch in ${BROKEN_OSARCHS}
+.    if !defined(__BROKEN)
+.      if ${_ARCH_OS} == ${_osarch}
+__BROKEN=	${_ARCH_OS}
+.      elif defined(__DEFAULT_OSARCH)
+.        if ${_WILD_WILD} == ${_osarch} 
+__BROKEN=	${_WILD_WILD}
+.        elif ${_ARCH_WILD} == ${_osarch}
+__BROKEN=	${_ARCH_WILD}
+.        elif ${_WILD_OS} == ${_osarch}
+__BROKEN=	${_WILD_OS}
+.        endif
+.      endif
+.    endif
+.  endfor
+
+.  for _broken_reason in ${BROKEN_REASONS}
+.    if !defined(__BROKEN_REASON)
+_osarch=	${_broken_reason:C,:.*$,,}
+_reason=	${_broken_reason:C,^[^:]+:",,:C,"$,,}
+
+.      if ${_ARCH_OS} == ${_osarch}
+__BROKEN_REASON=	${_reason}
+.      elif defined(__DEFAULT_OSARCH)
+.        if ${_WILD_WILD} == ${_osarch} 
+__BROKEN_REASON=	${_reason}
+.        elif ${_ARCH_WILD} == ${_osarch}
+__BROKEN_REASON=	${_reason}
+.        elif ${_WILD_OS} == ${_osarch}
+__BROKEN_REASON=	${_reason}
+.        endif
+.      endif
+.    endif
+.  endfor
+
+.  if defined(__BROKEN)
+BROKEN=		on ${BROKEN_OSARCHS}; ${__BROKEN} matches ${_ARCH_OS}
+.    if defined(__BROKEN_REASON)
+BROKEN+=	(reason: ${__BROKEN_REASON})
+.    endif
+.  endif
+
+.endif # defined(BROKEN_OSARCHS)
+
+.if !target(check-support)
+check-support:
+.  if defined(ARCH_INDEP)
+	@${ECHO_MSG} "===>  Supported anywhere: architecture-independent content"
+.  else
+.    if defined(__SUPPORTED)
+.      if defined(__SUPPORTED_REASON)
+	@${ECHO_MSG} "===>  Supported on ${_ARCH_OS}: ${__SUPPORTED_REASON}"
+.      endif
+.    else
+	@${ECHO_MSG} "===>  WARNING: this port is not supported on ${_ARCH_OS}"
+.      if defined(__SUPPORTED_REASON)
+	@${ECHO_MSG} "===>  (reason: ${__SUPPORTED_REASON})"
+.      else
+	@${ECHO_MSG} "===>  (reason: not properly tested and may or may not work)"
+.      endif
+.    endif
+.  endif
 .endif
 
 # Check the user interaction and legal issues
@@ -4279,8 +4454,8 @@
 _SANITY_SEQ=	${_CHROOT_SEQ} pre-everything check-makefile \
 				check-categories check-makevars check-desktop-entries \
 				check-depends identify-install-conflicts check-deprecated \
-				check-vulnerable check-license buildanyway-message \
-				options-message
+				check-vulnerable check-license check-support \
+				buildanyway-message options-message
 
 _PKG_DEP=		check-sanity
 _PKG_SEQ=		pkg-depends
Index: archivers/upx/Makefile
===================================================================
RCS file: /home/ncvs/ports/archivers/upx/Makefile,v
retrieving revision 1.13
diff -u -u -r1.13 Makefile
--- archivers/upx/Makefile	16 Jan 2012 12:47:49 -0000	1.13
+++ archivers/upx/Makefile	30 Jan 2012 14:50:03 -0000
@@ -26,7 +26,7 @@
 MAKE_ENV=	UPX_UCLDIR=${LOCALBASE}\
 		UPX_LZMADIR=${WRKDIR}\
 		target=freebsd
-NOT_FOR_ARCHS=	sparc64
+BROKEN_OSARCHS=	sparc64-ALL
 
 PORTDOCS=	BUGS COPYING LICENSE NEWS PROJECTS README\
 		README.1ST README.SRC THANKS TODO
Index: audio/amarok-kde4/Makefile
===================================================================
RCS file: /home/ncvs/ports/audio/amarok-kde4/Makefile,v
retrieving revision 1.122
diff -u -u -r1.122 Makefile
--- audio/amarok-kde4/Makefile	15 Jan 2012 02:50:13 -0000	1.122
+++ audio/amarok-kde4/Makefile	30 Jan 2012 14:50:04 -0000
@@ -39,8 +39,8 @@
 MAKE_JOBS_SAFE=	yes
 USE_LDCONFIG=	yes
 
-NOT_FOR_ARCHS=	sparc64
-NOT_FOR_ARCHS_REASON_sparc64=	"GCC-related build error"
+BROKEN_OSARCHS=	sparc64-ALL
+BROKEN_REASONS=	sparc64-ALL:"GCC-related build error"
 
 OPTIONS=	GPOD "iPod support" on \
 		LOUDMOUTH "Loudmouth support" on \
Index: audio/openal/Makefile
===================================================================
RCS file: /home/ncvs/ports/audio/openal/Makefile,v
retrieving revision 1.58
diff -u -u -r1.58 Makefile
--- audio/openal/Makefile	23 Sep 2011 22:21:09 -0000	1.58
+++ audio/openal/Makefile	30 Jan 2012 14:50:05 -0000
@@ -27,6 +27,9 @@
 WANT_SDL=	yes
 USE_LDCONFIG=	yes
 
+BROKEN_OSARCHS=	ia64-ALL
+BROKEN_REASONS=	ia64-ALL:"does not compile"
+
 OPTIONS=	ARTS "aRts backend" off \
 		ESD "esd backend" off \
 		SDL "SDL backend" off \
@@ -82,9 +85,6 @@
 .endif
 .endif
 
-NOT_FOR_ARCHS=	ia64
-NOT_FOR_ARCHS_REASON_ia64=	does not compile
-
 post-patch:
 	@${REINPLACE_CMD} -e 's/-pthread/${PTHREAD_LIBS}/; \
 		s/x86_64\*/amd64\* | \*ia64\*/g; \
Index: biology/migrate/Makefile
===================================================================
RCS file: /home/ncvs/ports/biology/migrate/Makefile,v
retrieving revision 1.27
diff -u -u -r1.27 Makefile
--- biology/migrate/Makefile	14 Mar 2011 00:35:45 -0000	1.27
+++ biology/migrate/Makefile	30 Jan 2012 14:50:07 -0000
@@ -27,10 +27,10 @@
 PORTEXAMPLES=	*
 PLIST_FILES=	bin/${PORTNAME} bin/${PORTNAME}-n
 
-.include <bsd.port.pre.mk>
+BROKEN_OSARCHS=	alpha-ALL
+BROKEN_REASONS=	alpha-ALL:"Does not compile"
 
-NOT_FOR_ARCHS=	alpha
-ONLY_FOR_ARCHS_REASON=	Does not compile
+.include <bsd.port.pre.mk>
 
 .if defined(WITH_THREAD_PRETTY)
 ALL_TARGET=	thread-pretty
Index: cad/alliance/Makefile
===================================================================
RCS file: /home/ncvs/ports/cad/alliance/Makefile,v
retrieving revision 1.25
diff -u -u -r1.25 Makefile
--- cad/alliance/Makefile	10 Nov 2011 05:53:54 -0000	1.25
+++ cad/alliance/Makefile	30 Jan 2012 14:50:07 -0000
@@ -16,8 +16,11 @@
 MAINTAINER=	hrs@FreeBSD.org
 COMMENT=	A complete set of CAD tools and libraries for VLSI design
 
-NOT_FOR_ARCHS=	amd64 ia64 powerpc sparc64
-NOT_FOR_ARCHS_REASON=	${PKGNAME} does not build on ${ARCH}
+BROKEN_OSARCHS=	amd64-ALL ia64-ALL powerpc-ALL sparc64-ALL
+BROKEN_REASONS=	amd64-ALL:"does not build" \
+		ia64-ALL:"does not build" \
+		powerpc-ALL:"does not build" \
+		sparc64-ALL:"does not build"
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-5.0
 SUB_FILES=	pkg-message
Index: databases/hk_classes/Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/hk_classes/Makefile,v
retrieving revision 1.47
diff -u -u -r1.47 Makefile
--- databases/hk_classes/Makefile	9 Oct 2011 01:40:57 -0000	1.47
+++ databases/hk_classes/Makefile	30 Jan 2012 14:50:09 -0000
@@ -35,8 +35,8 @@
 INSTALLS_EGGINFO=	yes
 PYDISTUTILS_PKGVERSION=	1.1
 
-NOT_FOR_ARCHS=	ia64
-NOT_FOR_ARCHS_REASON_ia64=	Does not build
+BROKEN_OSARCHS=	ia64-ALL
+BROKEN_REASONS=	ia64-ALL"Does not build"
 
 OPTIONS=	MYSQL		"Build MySQL driver"		on  \
 		POSTGRESQL	"Build PostrgreSQL driver"	off \
Index: databases/leveldb/Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/leveldb/Makefile,v
retrieving revision 1.5
diff -u -u -r1.5 Makefile
--- databases/leveldb/Makefile	7 Dec 2011 14:04:16 -0000	1.5
+++ databases/leveldb/Makefile	30 Jan 2012 14:50:09 -0000
@@ -13,6 +13,9 @@
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	A fast and lightweight key/value database library by Google
 
+BROKEN_OSARCHS=	powerpc-ALL
+BROKEN_REASONS=	powerpc-ALL:"not yet ported to this platform"
+
 OPTIONS=	PERFTOOLS	"Build with Google perftools" off \
 		SNAPPY		"Build with snappy" on
 
@@ -32,9 +35,6 @@
 LIB_DEPENDS+=	snappy:${PORTSDIR}/archivers/snappy
 .endif
 
-NOT_FOR_ARCHS=		powerpc
-NOT_FOR_ARCHS_REASON=	not yet ported to this platform
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/build_detect_platform
 .if !defined(WITH_PERFTOOLS)
Index: devel/ace/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/ace/Makefile,v
retrieving revision 1.28
diff -u -u -r1.28 Makefile
--- devel/ace/Makefile	9 Jan 2012 04:01:13 -0000	1.28
+++ devel/ace/Makefile	30 Jan 2012 14:50:12 -0000
@@ -29,7 +29,7 @@
 WRKSRC=		${WRKDIR}/ACE_wrappers
 BUILD_WRKSRC=	${WRKSRC}/objdir
 INSTALL_WRKSRC=	${BUILD_WRKSRC}
-NOT_FOR_ARCHS=	sparc64
+BROKEN_OSARCHS=	sparc64-ALL
 MAKE_JOBS_SAFE=	yes
 
 MAN1=		ace-gperf.1
Index: devel/bglibs/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/bglibs/Makefile,v
retrieving revision 1.42
diff -u -u -r1.42 Makefile
--- devel/bglibs/Makefile	3 Dec 2011 20:34:21 -0000	1.42
+++ devel/bglibs/Makefile	30 Jan 2012 14:50:12 -0000
@@ -18,7 +18,7 @@
 
 LICENSE=	LGPL21
 
-NOT_FOR_ARCHS=	alpha
+BROKEN_OSARCHS=	alpha-ALL
 
 USE_PERL5=	yes
 USE_AUTOTOOLS=	libtool:env
Index: devel/g-wrap/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/g-wrap/Makefile,v
retrieving revision 1.51
diff -u -u -r1.51 Makefile
--- devel/g-wrap/Makefile	10 Nov 2011 21:36:05 -0000	1.51
+++ devel/g-wrap/Makefile	30 Jan 2012 14:50:13 -0000
@@ -28,7 +28,7 @@
 CONFIGURE_TARGET=${ARCH:S/amd64/x86_64/}-portbld-freebsd${OSREL}
 USE_GMAKE=	yes
 USE_GNOME=	glib20 gnomehack
-NOT_FOR_ARCHS=	ia64 powerpc
+BROKEN_OSARCHS=	ia64-ALL powerpc-ALL
 
 CFLAGS+=		-fPIC
 CONFIGURE_ARGS=		--disable-Werror
Index: devel/llvm-etoile/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/llvm-etoile/Makefile,v
retrieving revision 1.7
diff -u -u -r1.7 Makefile
--- devel/llvm-etoile/Makefile	28 Jan 2012 20:25:10 -0000	1.7
+++ devel/llvm-etoile/Makefile	30 Jan 2012 14:50:15 -0000
@@ -23,7 +23,7 @@
 .endif
 
 CONFLICTS=	llvm-devel-[23]* llvm-[23]*
-NOT_FOR_ARCHS=	sparc64
+BROKEN_OSARCHS=	sparc64-ALL
 
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
Index: devel/m6811-binutils/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/m6811-binutils/Makefile,v
retrieving revision 1.11
diff -u -u -r1.11 Makefile
--- devel/m6811-binutils/Makefile	28 Nov 2008 23:36:14 -0000	1.11
+++ devel/m6811-binutils/Makefile	30 Jan 2012 14:50:15 -0000
@@ -19,7 +19,7 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	The binutils cross-toolchain for the 6811
 
-NOT_FOR_ARCHS=	amd64
+BROKEN_OSARCHS=	amd64-ALL
 USE_GMAKE=	yes
 HAS_CONFIGURE=	yes
 
Index: devel/mico/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/mico/Makefile,v
retrieving revision 1.105
diff -u -u -r1.105 Makefile
--- devel/mico/Makefile	25 Dec 2011 19:25:13 -0000	1.105
+++ devel/mico/Makefile	30 Jan 2012 14:50:15 -0000
@@ -25,6 +25,8 @@
 USE_AUTOTOOLS=		autoconf
 CONFIGURE_ENV+=		EGREP=`which egrep`
 
+BROKEN_OSARCHS=		sparc64-ALL
+
 OPTIONS=	NOSERVICES "Without services, plain ORB" off \
 		SSL "Build with SSL" on \
 		X11 "Build with X11 support" off \
@@ -34,8 +36,6 @@
 
 .include <bsd.port.options.mk>
 
-NOT_FOR_ARCHS=		sparc64
-
 CONFIGURE_ARGS=		--enable-cd --disable-mini-stl --enable-threads
 
 .if defined(WITH_DEBUG)
Index: devel/ossp-val/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/ossp-val/Makefile,v
retrieving revision 1.22
diff -u -u -r1.22 Makefile
--- devel/ossp-val/Makefile	21 Aug 2008 06:16:47 -0000	1.22
+++ devel/ossp-val/Makefile	30 Jan 2012 14:50:15 -0000
@@ -25,7 +25,7 @@
 MAN1=	val-config.1
 MAN3=	val.3
 
-NOT_FOR_ARCHS=	alpha
+BROKEN_OSARCHS=	alpha-ALL
 
 check:	build
 	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
Index: editors/psgml/Makefile
===================================================================
RCS file: /home/ncvs/ports/editors/psgml/Makefile,v
retrieving revision 1.42
diff -u -u -r1.42 Makefile
--- editors/psgml/Makefile	17 Oct 2011 06:01:25 -0000	1.42
+++ editors/psgml/Makefile	30 Jan 2012 14:50:23 -0000
@@ -22,7 +22,7 @@
 SUB_FILES=	${PSGML_STARTUPEL}
 SUB_LIST=	PSGML_LISPDIR=${PSGML_LISPDIR}
 PLIST_SUB=	PSGML_STARTUPEL=${PSGML_STARTUPEL}
-NOT_FOR_ARCHS=	ia64
+BROKEN_OSARCHS=	ia64-ALL
 GNU_CONFIGURE=	YES
 CONFIGURE_ARGS=	--lispdir=${PSGML_LISPDIR}
 CONFIGURE_ENV=	EMACS=${EMACS_CMD}
Index: ftp/weex/Makefile
===================================================================
RCS file: /home/ncvs/ports/ftp/weex/Makefile,v
retrieving revision 1.7
diff -u -u -r1.7 Makefile
--- ftp/weex/Makefile	2 Sep 2009 15:01:39 -0000	1.7
+++ ftp/weex/Makefile	30 Jan 2012 14:50:24 -0000
@@ -14,6 +14,8 @@
 MAINTAINER=	ehaupt@FreeBSD.org
 COMMENT=	A non-interactive FTP client
 
+BROKEN_OSARCHS=	amd64-ALL
+
 GNU_CONFIGURE=	yes
 MANCOMPRESSED=	no
 MAKE_JOBS_SAFE=	yes
@@ -36,6 +38,4 @@
 .endfor
 .endif
 
-NOT_FOR_ARCHS=	amd64
-
 .include <bsd.port.mk>
Index: games/fkiss/Makefile
===================================================================
RCS file: /home/ncvs/ports/games/fkiss/Makefile,v
retrieving revision 1.21
diff -u -u -r1.21 Makefile
--- games/fkiss/Makefile	23 Sep 2011 22:22:40 -0000	1.21
+++ games/fkiss/Makefile	30 Jan 2012 14:50:25 -0000
@@ -19,7 +19,7 @@
 
 RUN_DEPENDS=	lha:${PORTSDIR}/archivers/lha
 
-NOT_FOR_ARCHS=	alpha
+BROKEN_OSARCHS=	alpha-ALL
 
 USE_XORG=	x11 xproto
 WANT_GNOME=	yes
Index: games/openglad/Makefile
===================================================================
RCS file: /home/ncvs/ports/games/openglad/Makefile,v
retrieving revision 1.19
diff -u -u -r1.19 Makefile
--- games/openglad/Makefile	23 Sep 2011 22:22:51 -0000	1.19
+++ games/openglad/Makefile	30 Jan 2012 14:50:26 -0000
@@ -20,7 +20,7 @@
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 
-NOT_FOR_ARCHS=	sparc64
+BROKEN_OSARCHS=	sparc64-ALL
 
 .if defined(NOPORTDOCS)
 post-patch:
Index: games/quakeforge/Makefile
===================================================================
RCS file: /home/ncvs/ports/games/quakeforge/Makefile,v
retrieving revision 1.76
diff -u -u -r1.76 Makefile
--- games/quakeforge/Makefile	14 Mar 2011 16:47:46 -0000	1.76
+++ games/quakeforge/Makefile	30 Jan 2012 14:50:27 -0000
@@ -17,8 +17,8 @@
 MAINTAINER=	danfe@FreeBSD.org
 COMMENT=	Cleaned up copy of the GPLd Quake 1 source code
 
-NOT_FOR_ARCHS=	sparc64
-NOT_FOR_ARCHS_REASON=	generated Quake C compiler (qfcc) does not work
+BROKEN_OSARCHS=	sparc64-ALL
+BROKEN_REASON=	sparc64-ALL:"generated Quake C compiler (qfcc) does not work"
 USE_AUTOTOOLS=	libtool
 USE_BZIP2=	yes
 USE_BISON=	build
Index: games/wargus/Makefile
===================================================================
RCS file: /home/ncvs/ports/games/wargus/Makefile,v
retrieving revision 1.15
diff -u -u -r1.15 Makefile
--- games/wargus/Makefile	11 Aug 2011 19:19:24 -0000	1.15
+++ games/wargus/Makefile	30 Jan 2012 14:50:27 -0000
@@ -19,7 +19,7 @@
 RUN_DEPENDS=	stratagus:${PORTSDIR}/games/stratagus
 
 LICENSE=	GPLv2
-NOT_FOR_ARCHS=	sparc64
+BROKEN_OSARCHS=	sparc64-ALL
 USE_GMAKE=	yes
 USE_GNOME=	gtk20 gnomehack
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
Index: games/xarchon/Makefile
===================================================================
RCS file: /home/ncvs/ports/games/xarchon/Makefile,v
retrieving revision 1.17
diff -u -u -r1.17 Makefile
--- games/xarchon/Makefile	19 Jan 2012 10:13:17 -0000	1.17
+++ games/xarchon/Makefile	30 Jan 2012 14:50:27 -0000
@@ -15,6 +15,8 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A chess-like strategy game with battle options
 
+BROKEN_OSARCHS=	sparc64-ALL
+
 USE_GNOME=	esound gtk12
 USE_GMAKE=	yes
 USE_XORG=	x11 xpm ice
@@ -29,6 +31,4 @@
 	@${REINPLACE_CMD} -e 's|Xarchon_Evolution::||' \
 		${WRKSRC}/src/Xarchon_Genetic.hpp
 
-NOT_FOR_ARCHS=	sparc64
-
 .include <bsd.port.mk>
Index: graphics/geomview/Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/geomview/Makefile,v
retrieving revision 1.54
diff -u -u -r1.54 Makefile
--- graphics/geomview/Makefile	2 May 2011 12:44:36 -0000	1.54
+++ graphics/geomview/Makefile	30 Jan 2012 14:50:29 -0000
@@ -14,8 +14,8 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	An interactive viewer for 3- and 4-D geometric objects
 
-NOT_FOR_ARCHS=	amd64
-NOT_FOR_ARCHS_REASON=	Segfaults on amd64
+BROKEN_OSARCHS=	amd64-ALL
+BROKEN_REASONS=	amd64-ALL:"Segfaults on amd64"
 
 OPTIONS=	MOTION_AVG "Use experimental motion averaging code" off
 
Index: graphics/opencv/Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/opencv/Makefile,v
retrieving revision 1.36
diff -u -u -r1.36 Makefile
--- graphics/opencv/Makefile	16 Jan 2012 09:46:55 -0000	1.36
+++ graphics/opencv/Makefile	30 Jan 2012 14:50:30 -0000
@@ -27,8 +27,8 @@
 
 WRKSRC=		${WRKDIR}/OpenCV-${DISTVERSION}
 
-NOT_FOR_ARCHS=	sparc64
-NOT_FOR_ARCHS_REASON_sparc64=	does not compile on sparc64
+BROKEN_OSARCHS=	sparc64-ALL
+BROKEN_REASONS=	sparc64-ALL:"does not compile on sparc64"
 
 DATADIR=	${PREFIX}/share/OpenCV
 PLIST_SUB+=	VERSION=${DISTVERSION}
Index: graphics/pixie/Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/pixie/Makefile,v
retrieving revision 1.47
diff -u -u -r1.47 Makefile
--- graphics/pixie/Makefile	23 Sep 2011 22:23:24 -0000	1.47
+++ graphics/pixie/Makefile	30 Jan 2012 14:50:30 -0000
@@ -21,7 +21,7 @@
 		tiff.4:${PORTSDIR}/graphics/tiff \
 		fltk_gl.1:${PORTSDIR}/x11-toolkits/fltk
 
-NOT_FOR_ARCHS=	amd64
+BROKEN_OSARCHS=	amd64-ALL
 
 WRKSRC=		${WRKDIR}/Pixie
 
Index: japanese/ruby-rdic/Makefile
===================================================================
RCS file: /home/ncvs/ports/japanese/ruby-rdic/Makefile,v
retrieving revision 1.13
diff -u -u -r1.13 Makefile
--- japanese/ruby-rdic/Makefile	1 Nov 2011 22:59:34 -0000	1.13
+++ japanese/ruby-rdic/Makefile	30 Jan 2012 14:50:32 -0000
@@ -17,7 +17,7 @@
 
 RUN_DEPENDS+=	${RUBY_SITEARCHLIBDIR}/mmap.so:${PORTSDIR}/devel/ruby-mmap
 
-NOT_FOR_ARCHS=	amd64
+BROKEN_OSARCHS=	amd64-ALL
 
 USE_RUBY=	yes
 USE_RUBY_EXTCONF=	yes
Index: lang/dmd2/Makefile
===================================================================
RCS file: /home/ncvs/ports/lang/dmd2/Makefile,v
retrieving revision 1.14
diff -u -u -r1.14 Makefile
--- lang/dmd2/Makefile	7 Jan 2012 20:39:01 -0000	1.14
+++ lang/dmd2/Makefile	30 Jan 2012 14:50:33 -0000
@@ -33,18 +33,12 @@
 LICENSE_FILE_DMD=	${WRKSRC}/backendlicense.txt
 LICENSE_PERMS_DMD=	no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 800000
-BROKEN=		does not compile
-.endif
+BROKEN_OSARCHS=	ALL-7 powerpc-ALL sparc64-ALL
+BROKEN_REASONS=	ALL-7:"does not compile on 7.x" \
+		powerpc-ALL:"not yet ported to this architecture"
+		sparc64-ALL:"Does not install on sparc64: divide-by-zero error"
 
-NOT_FOR_ARCHS=		powerpc
-NOT_FOR_ARCHS_REASON=	not yet ported to this architecture
-
-.if ${ARCH} == "sparc64"
-BROKEN=		Does not install on sparc64: divide-by-zero error
-.endif
+.include <bsd.port.pre.mk>
 
 .if ${ARCH} == "amd64"
 MAKE_ARGS+=	MODEL=64
Index: lang/gcc42/Makefile
===================================================================
RCS file: /home/ncvs/ports/lang/gcc42/Makefile,v
retrieving revision 1.363
diff -u -u -r1.363 Makefile
--- lang/gcc42/Makefile	11 Dec 2011 23:52:41 -0000	1.363
+++ lang/gcc42/Makefile	30 Jan 2012 14:50:34 -0000
@@ -25,7 +25,7 @@
 VERSIONSTRING=	${PORTVERSION:C/([0-9]+\.[0-9]+).*\.([0-9]+)/\1-\2/}
 SUFFIX=		${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/}
 LATEST_LINK=	gcc${SUFFIX}${PKGNAMESUFFIX}
-NOT_FOR_ARCHS=	powerpc
+BROKEN_OSARCHS=	powerpc-ALL
 USE_BISON=	build
 USE_BZIP2=	yes
 USE_GMAKE=	yes
Index: lang/ocs/Makefile
===================================================================
RCS file: /home/ncvs/ports/lang/ocs/Makefile,v
retrieving revision 1.6
diff -u -u -r1.6 Makefile
--- lang/ocs/Makefile	26 Apr 2009 05:52:53 -0000	1.6
+++ lang/ocs/Makefile	30 Jan 2012 14:50:34 -0000
@@ -37,7 +37,7 @@
 USE_XORG=	xt
 USE_LDCONFIG=	${OCS}/lib/freebsd${OSREL}-${ARCH}
 
-NOT_FOR_ARCHS=	amd64 ia64 sparc64
+BROKEN_OSARCHS=	amd64-ALL ia64-ALL sparc64-ALL
 
 CONFIGURE_ARGS=	--prefix="${WRKDIR}" \
 		--disable-absolute-pathes \
Index: lang/pnet-base/Makefile
===================================================================
RCS file: /home/ncvs/ports/lang/pnet-base/Makefile,v
retrieving revision 1.35
diff -u -u -r1.35 Makefile
--- lang/pnet-base/Makefile	27 Nov 2009 22:52:22 -0000	1.35
+++ lang/pnet-base/Makefile	30 Jan 2012 14:50:34 -0000
@@ -18,7 +18,7 @@
 
 BUILD_DEPENDS=	treecc:${PORTSDIR}/lang/treecc
 
-NOT_FOR_ARCHS=	sparc64
+BROKEN_OSARCHS=	sparc64-ALL
 
 .if !defined(WITHOUT_X11)
 USE_XLIB=	yes
Index: mail/meta1/Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/meta1/Makefile,v
retrieving revision 1.34
diff -u -u -r1.34 Makefile
--- mail/meta1/Makefile	3 Sep 2011 11:07:06 -0000	1.34
+++ mail/meta1/Makefile	30 Jan 2012 14:50:36 -0000
@@ -15,7 +15,7 @@
 MAINTAINER=	dinoex@FreeBSD.org
 COMMENT=	Secure and efficient mail gateway
 
-NOT_FOR_ARCHS=	ia64
+BROKEN_OSARCHS=	ia64-ALL
 CONFLICTS=	smx-*
 
 .if !defined(SENDMAIL_WITHOUT_SHMEM) && !defined(BUILDING_INDEX)
Index: math/atlas-devel/Makefile
===================================================================
RCS file: /home/ncvs/ports/math/atlas-devel/Makefile,v
retrieving revision 1.61
diff -u -u -r1.61 Makefile
--- math/atlas-devel/Makefile	20 Jan 2012 14:45:14 -0000	1.61
+++ math/atlas-devel/Makefile	30 Jan 2012 14:50:37 -0000
@@ -20,6 +20,8 @@
 use that port instead of math/atlas-devel, while the latter is being revised
 MANUAL_PACKAGE_BUILD=	Optimizes for the local machine.
 
+BROKEN_OSARCHS=	alpha-ALL
+
 USE_BZIP2=	yes
 USE_GMAKE=	yes
 WRKSRC=		${WRKDIR}/ATLAS
@@ -28,8 +30,6 @@
 
 .include <bsd.port.pre.mk>
 
-NOT_FOR_ARCHS=	alpha
-
 USE_FORTRAN=	yes
 CCOMPILER=	${CC}
 LIB_DEPENDS+=	blas.2:${PORTSDIR}/math/blas
Index: multimedia/dtv/Makefile
===================================================================
RCS file: /home/ncvs/ports/multimedia/dtv/Makefile,v
retrieving revision 1.13
diff -u -u -r1.13 Makefile
--- multimedia/dtv/Makefile	26 Dec 2011 02:26:44 -0000	1.13
+++ multimedia/dtv/Makefile	30 Jan 2012 14:50:41 -0000
@@ -18,7 +18,8 @@
 
 MAKE_ENV=	X11BASE=${LOCALBASE}
 USE_XORG=	xau x11 xext xxf86dga
-NOT_FOR_ARCHS=	sparc64
+
+BROKEN_OSARCHS=	sparc64-ALL
 
 post-patch:
 	@${REINPLACE_CMD} 's|^\(LDADD +=.*\)|\1 -lxcb -lXau -lXdmcp|' ${WRKSRC}/Makefile
Index: multimedia/mlt/Makefile
===================================================================
RCS file: /home/ncvs/ports/multimedia/mlt/Makefile,v
retrieving revision 1.33
diff -u -u -r1.33 Makefile
--- multimedia/mlt/Makefile	3 Nov 2011 07:03:42 -0000	1.33
+++ multimedia/mlt/Makefile	30 Jan 2012 14:50:41 -0000
@@ -30,8 +30,8 @@
 # Required at least for frei0r detection.
 CFLAGS+=	-I${LOCALBASE}/include
 
-NOT_FOR_ARCHS=	sparc64
-NOT_FOR_ARCHS_REASON_sparc64=	does not compile on sparc64 (invokes i386 asm)
+BROKEN_OSARCHS=	sparc64-ALL
+BROKEN_REASONS=	sparc64-ALL:"does not compile on sparc64 (invokes i386 asm)"
 
 PORTDOCS=	AUTHORS ChangeLog NEWS README docs demo
 
Index: multimedia/nxtvepg/Makefile
===================================================================
RCS file: /home/ncvs/ports/multimedia/nxtvepg/Makefile,v
retrieving revision 1.23
diff -u -u -r1.23 Makefile
--- multimedia/nxtvepg/Makefile	26 Dec 2011 02:26:45 -0000	1.23
+++ multimedia/nxtvepg/Makefile	30 Jan 2012 14:50:41 -0000
@@ -15,7 +15,8 @@
 
 LIB_DEPENDS=	tk84.1:${PORTSDIR}/x11-toolkits/tk84
 
-NOT_FOR_ARCHS=	sparc64
+BROKEN_OSARCHS=	sparc64-ALL
+
 USE_GMAKE=	yes
 USE_XORG=	x11 xmu
 MAKE_ENV=	PTHREAD_LIBS=${PTHREAD_LIBS} WRKSRC=${WRKSRC} X11BASE=${LOCALBASE}
Index: net/DarwinStreamingServer/Makefile
===================================================================
RCS file: /home/ncvs/ports/net/DarwinStreamingServer/Makefile,v
retrieving revision 1.37
diff -u -u -r1.37 Makefile
--- net/DarwinStreamingServer/Makefile	23 Sep 2011 22:24:23 -0000	1.37
+++ net/DarwinStreamingServer/Makefile	30 Jan 2012 14:50:42 -0000
@@ -26,7 +26,7 @@
 
 RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay
 
-NOT_FOR_ARCHS=	ia64 powerpc sparc64
+BROKEN_OSARCHS=	ia64-ALL powerpc-ALL sparc64-ALL
 
 USE_PERL5_RUN=	yes
 USE_PERL5_BUILD=yes
Index: net/p5-Parallel-Pvm/Makefile
===================================================================
RCS file: /home/ncvs/ports/net/p5-Parallel-Pvm/Makefile,v
retrieving revision 1.8
diff -u -u -r1.8 Makefile
--- net/p5-Parallel-Pvm/Makefile	21 Jan 2012 17:38:47 -0000	1.8
+++ net/p5-Parallel-Pvm/Makefile	30 Jan 2012 14:50:44 -0000
@@ -25,6 +25,6 @@
 
 MAN3=		Parallel::Pvm.3
 
-NOT_FOR_ARCHS=	amd64 ia64
+BROKEN_OSARCHS=	amd64-ALL ia64-ALL
 
 .include <bsd.port.mk>
Index: net/pvm/Makefile
===================================================================
RCS file: /home/ncvs/ports/net/pvm/Makefile,v
retrieving revision 1.29
diff -u -u -r1.29 Makefile
--- net/pvm/Makefile	11 Nov 2011 03:52:14 -0000	1.29
+++ net/pvm/Makefile	30 Jan 2012 14:50:44 -0000
@@ -26,6 +26,8 @@
 PLIST_SUB+=	X11=''
 .endif
 
+BROKEN_OSARCHS=	powerpc-ALL
+
 USE_FORTRAN=	yes
 USE_LDCONFIG=	yes
 
@@ -116,8 +118,6 @@
 
 .include <bsd.port.pre.mk>
 
-NOT_FOR_ARCHS=	powerpc
-
 pre-patch:
 	@${REINPLACE_CMD} -e 's|$$(ARCHCFLAGS)|$$(ARCHCFLAGS) -fPIC|g' ${WRKSRC}/src/Makefile.aimk
 	@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
Index: net/py-libdnet/Makefile
===================================================================
RCS file: /home/ncvs/ports/net/py-libdnet/Makefile,v
retrieving revision 1.8
diff -u -u -r1.8 Makefile
--- net/py-libdnet/Makefile	30 Jul 2007 09:41:43 -0000	1.8
+++ net/py-libdnet/Makefile	30 Jan 2012 14:50:44 -0000
@@ -12,8 +12,8 @@
 
 LIB_DEPENDS=	dnet.1:${PORTSDIR}/net/libdnet
 
-NOT_FOR_ARCHS=	ia64
-NOT_FOR_ARCHS_REASON_ia64=	fails to build with internal compiler error
+BROKEN_OSARCHS=	ia64-ALL
+BROKEN_REASONS= ia64-ALL:"fails to build with internal compiler error"
 
 MASTERDIR=	${.CURDIR}/../libdnet
 INSTALL_WRKSRC=	${WRKSRC}/python
Index: print/auctex/Makefile
===================================================================
RCS file: /home/ncvs/ports/print/auctex/Makefile,v
retrieving revision 1.41
diff -u -u -r1.41 Makefile
--- print/auctex/Makefile	17 Oct 2011 06:01:29 -0000	1.41
+++ print/auctex/Makefile	30 Jan 2012 14:50:49 -0000
@@ -41,7 +41,7 @@
 TEXMFDIR=	share/texmf
 MKTEXLSR=	${LOCALBASE}/bin/mktexlsr
 
-NOT_FOR_ARCHS=	ia64
+BROKEN_OSARCHS=	ia64-ALL
 
 post-install:
 	${MKTEXLSR} ${PREFIX}/${TEXMFDIR}
Index: science/simlib/Makefile
===================================================================
RCS file: /home/ncvs/ports/science/simlib/Makefile,v
retrieving revision 1.8
diff -u -u -r1.8 Makefile
--- science/simlib/Makefile	1 Apr 2010 10:20:44 -0000	1.8
+++ science/simlib/Makefile	30 Jan 2012 14:50:50 -0000
@@ -20,8 +20,8 @@
 
 CXXFLAGS+=	-fPIC
 
-NOT_FOR_ARCHS=	ia64 powerpc sparc64
-NOT_FOR_ARCHS_REASON=	contains not working ${ARCH}-dependent assembly code
+BROKEN_OSARCHS=	ia64-ALL powerpc-ALL sparc64-ALL
+BROKEN_REASONS=	ALL-ALL:"contains not working ${ARCH}-dependent assembly code"
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|make|gmake|g' ${WRKSRC}/Makefile
Index: security/yersinia/Makefile
===================================================================
RCS file: /home/ncvs/ports/security/yersinia/Makefile,v
retrieving revision 1.13
diff -u -u -r1.13 Makefile
--- security/yersinia/Makefile	27 Aug 2009 14:38:04 -0000	1.13
+++ security/yersinia/Makefile	30 Jan 2012 14:50:53 -0000
@@ -33,7 +33,7 @@
 
 LIBNET_CONFIG?=	${LOCALBASE}/bin/libnet11-config
 
-#NOT_FOR_ARCHS=	ia64 sparc64
+#BROKEN_OSARCHS=	ia64-ALL sparc64-ALL
 MAN8=		yersinia.8
 PLIST_FILES=	sbin/yersinia
 
Index: sysutils/gnomebaker/Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/gnomebaker/Makefile,v
retrieving revision 1.29
diff -u -u -r1.29 Makefile
--- sysutils/gnomebaker/Makefile	23 Sep 2011 22:25:28 -0000	1.29
+++ sysutils/gnomebaker/Makefile	30 Jan 2012 14:50:54 -0000
@@ -28,8 +28,8 @@
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib -export-dynamic
 
-ONLY_FOR_ARCHS=	i386
-NOT_FOR_ARCHS_REASON=	Coredump on amd64, see PR: ports/130972 
+BROKEN_OSARCHS=	amd64-ALL
+BROKEN_REASON=	amd64-ALL:"Coredump on amd64, see PR: ports/130972" 
 
 .include <bsd.port.pre.mk>
 
Index: sysutils/htop/Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/htop/Makefile,v
retrieving revision 1.22
diff -u -u -r1.22 Makefile
--- sysutils/htop/Makefile	10 Nov 2011 05:38:32 -0000	1.22
+++ sysutils/htop/Makefile	30 Jan 2012 14:50:54 -0000
@@ -18,7 +18,7 @@
 
 OPTIONS=	LSOF "Enable lsof support" On
 
-NOT_FOR_ARCHS=	ia64 powerpc sparc64
+BROKEN_OSARCHS=	ia64-ALL powerpc-ALL sparc64-ALL
 
 GNU_CONFIGURE=	yes
 CFLAGS+=	-I${LOCALBASE}/include
Index: sysutils/sge60/Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/sge60/Makefile,v
retrieving revision 1.46
diff -u -u -r1.46 Makefile
--- sysutils/sge60/Makefile	14 Oct 2011 16:55:49 -0000	1.46
+++ sysutils/sge60/Makefile	30 Jan 2012 14:50:55 -0000
@@ -26,7 +26,7 @@
 
 EXTRA_PATCHES=	${FILESDIR}/sge-freebsd-pdc.diff
 
-NOT_FOR_ARCHS=	alpha
+BROKEN_OSARCHS=	alpha-ALL
 
 USE_GETTEXT=	yes
 USE_GMAKE=	yes
Index: sysutils/sge61/Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/sge61/Makefile,v
retrieving revision 1.49
diff -u -u -r1.49 Makefile
--- sysutils/sge61/Makefile	14 Oct 2011 16:55:50 -0000	1.49
+++ sysutils/sge61/Makefile	30 Jan 2012 14:50:55 -0000
@@ -29,7 +29,7 @@
 LATEST_LINK=	sge61
 CONFLICTS=	sge-6.[02-9]* sge-5* sgeee-[0-9]* sge-0.*
 
-NOT_FOR_ARCHS=	alpha
+BROKEN_OSARCHS=	alpha-ALL
 
 USE_GETTEXT=	yes
 USE_GMAKE=	yes
Index: sysutils/sge62/Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/sge62/Makefile,v
retrieving revision 1.55
diff -u -u -r1.55 Makefile
--- sysutils/sge62/Makefile	10 Nov 2011 05:42:18 -0000	1.55
+++ sysutils/sge62/Makefile	30 Jan 2012 14:50:56 -0000
@@ -26,7 +26,7 @@
 LATEST_LINK=	sge62
 CONFLICTS=	sge-6.[013-9]* sge-5* sgeee-[0-9]* sge-0.*
 
-NOT_FOR_ARCHS=	powerpc
+BROKEN_OSARCHS=	powerpc-ALL
 
 USE_GETTEXT=	yes
 USE_GMAKE=	yes
Index: www/kompozer/Makefile
===================================================================
RCS file: /home/ncvs/ports/www/kompozer/Makefile,v
retrieving revision 1.50
diff -u -u -r1.50 Makefile
--- www/kompozer/Makefile	16 Aug 2011 18:36:10 -0000	1.50
+++ www/kompozer/Makefile	30 Jan 2012 14:51:01 -0000
@@ -34,8 +34,8 @@
 		"${PREFIX}/lib/kompozer/icons/mozicon50.xpm" "${PORTNAME}" \
 		"Application;Network;" true
 
-NOT_FOR_ARCHS=	ia64
-NOT_FOR_ARCHS_REASON_ia64=	does not build
+BROKEN_OSARCHS=	ia64-ALL
+BROKEN_REASONS=	ia64-ALL:"does not build:
 
 .include <bsd.port.pre.mk>
 
Index: www/seamonkey/Makefile
===================================================================
RCS file: /home/ncvs/ports/www/seamonkey/Makefile,v
retrieving revision 1.319
diff -u -u -r1.319 Makefile
--- www/seamonkey/Makefile	23 Dec 2011 16:58:05 -0000	1.319
+++ www/seamonkey/Makefile	30 Jan 2012 14:51:04 -0000
@@ -55,7 +55,7 @@
 MOZILLA_PLIST_DIRS=	bin lib
 MOZ_PKGCONFIG_FILES=
 
-NOT_FOR_ARCHS=	ia64
+BROKEN_OSARCHS=	ia64-ALL
 
 OPTIONS=MAILNEWS "Enable Mail and News modules" on \
 	COMPOSER "Enable the HTML Composer module" on \
Index: x11/wdm/Makefile
===================================================================
RCS file: /home/ncvs/ports/x11/wdm/Makefile,v
retrieving revision 1.87
diff -u -u -r1.87 Makefile
--- x11/wdm/Makefile	23 Sep 2011 22:26:14 -0000	1.87
+++ x11/wdm/Makefile	30 Jan 2012 14:51:06 -0000
@@ -24,7 +24,7 @@
 
 LIB_DEPENDS=	wraster.4:${PORTSDIR}/x11-wm/windowmaker
 
-NOT_FOR_ARCHS=	sparc64
+BROKEN_OSARCHS=	sparc64-ALL
 
 USE_XORG=	x11 xmu
 USE_BZIP2=	yes
Index: x11-servers/xorg-server/Makefile
===================================================================
RCS file: /home/ncvs/ports/x11-servers/xorg-server/Makefile,v
retrieving revision 1.84
diff -u -u -r1.84 Makefile
--- x11-servers/xorg-server/Makefile	9 Nov 2011 15:26:03 -0000	1.84
+++ x11-servers/xorg-server/Makefile	30 Jan 2012 14:51:07 -0000
@@ -46,7 +46,7 @@
 		fbdevhw.4
 MAN5=		xorg.conf.5
 
-NOT_FOR_ARCHS=	alpha
+BROKEN_OSARCHS=	alpha-ALL
 
 .if !defined(ARCH)
 ARCH!=	/usr/bin/uname -p
--- not_for_archs.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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