1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Substitute BROKEN with IGNORE in cases where the port requires the src tree

to be present, or does not compile on certain versions of FreeBSD.  This
will potentially avoid needless compilations on bento, and has the added
benefit of improving certain reporting tools.  To most users, this change
is a no-op.

PR:		61090
Submitted by:	linimon
This commit is contained in:
Joe Marcus Clarke 2004-01-10 07:18:55 +00:00
parent eede100791
commit 0ecea7d9d6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97845
12 changed files with 23 additions and 23 deletions

View File

@ -39,7 +39,7 @@ VERSION_SOUND_C=
VERSION_SOUND_C_MINOR:= ${VERSION_SOUND_C:S/^1.//:S/^17.2.//}
.if ${OSVERSION} < 410000
BROKEN= "FreeBSD 3.*, 4.0 are not supported"
IGNORE= "FreeBSD 3.*, 4.0 are not supported"
.elif ${OSVERSION} < 420000
# FreeBSD 4.1, 4.1.1
@ -69,7 +69,7 @@ MAKE_ENV+= HAVE_KOBJ_PCM=1
.elif ${OSVERSION} < 500000
# FreeBSD 4.5+, 4.6, 4.7, 4.8-
.if ${VERSION_SOUND_C_MINOR} < 12
BROKEN= "Base system is outdated. This port needs -STABLE after 2002-04-22."
IGNORE= "Base system is outdated. This port needs -STABLE after 2002-04-22."
.endif
PORTVERSION= 1.3
PORTREVISION= 4
@ -79,13 +79,13 @@ MAKE_ENV+= HAVE_KOBJ_PCM=1
.if ${OSVERSION} > 500000
# FreeBSD 5-CURRENT
.if ${VERSION_SOUND_C_MINOR} < 70
BROKEN= "Base system is outdated. This port needs -CURRENT after 2002-04-04."
IGNORE= "Base system is outdated. This port needs -CURRENT after 2002-04-04."
.endif
.endif
# Make sure kernel sources are present before going any further
.if ! exists(${SRCPREFIX}/sys/dev/sound/pcm/sound.c)
BROKEN= "You need to extract kernel source tree before building this package"
IGNORE= "You need to extract kernel source tree before building this package"
.endif
pre-fetch:

View File

@ -22,10 +22,10 @@ MAN1= linux_kdump.1
.include <bsd.port.pre.mk>
.if !exists(/sys/i386/linux/syscalls.master)
BROKEN= "requires kernel source present in /sys"
IGNORE= "requires kernel source present in /sys"
.endif
.if !exists(/usr/src/usr.bin/ktrace/subr.c)
BROKEN= "requires ktrace source present in /usr/src/usr.bin/ktrace"
IGNORE= "requires ktrace source present in /usr/src/usr.bin/ktrace"
.endif
.include <bsd.port.post.mk>

View File

@ -33,11 +33,11 @@ SRC_BASE?= /usr/src
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 400013
BROKEN= "Systems prior to 400013 are out of support"
IGNORE= "Systems prior to 400013 are out of support"
.endif
.if !exists(${SRC_BASE}/sys/Makefile)
BROKEN= "Kernel source files required"
IGNORE= "Kernel source files required"
.endif
do-fetch:

View File

@ -54,15 +54,15 @@ MODULES= vmmon vmnet
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 400013
BROKEN= "Systems prior to 400013 is out of support"
IGNORE= "Systems prior to 400013 is out of support"
.endif
.if !defined(HAVE_LINPROCFS) && !exists(/modules/linprocfs.ko) && !exists(/boot/kernel/linprocfs.ko) && !exists(${PREFIX}/modules/linprocfs.ko)
BROKEN= "This software absolutely requires Linux procfs support"
IGNORE= "This software absolutely requires Linux procfs support"
.endif
.if !exists(/${SRC_BASE}/Makefile)
BROKEN= "Kernel source files required"
IGNORE= "Kernel source files required"
.endif
.if exists(${WRKDIRPREFIX}${.CURDIR}/work/Makefile.inc.net)

View File

@ -51,15 +51,15 @@ MODULES= vmmon vmnet
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 480102
BROKEN= "Systems prior to FreeBSD 480102 currently out of support"
IGNORE= "Systems prior to FreeBSD 480102 currently out of support"
.endif
.if !defined(HAVE_LINPROCFS) && !exists(/modules/linprocfs.ko) && !exists(/boot/kernel/linprocfs.ko) && !exists(${PREFIX}/modules/linprocfs.ko)
BROKEN= "This software absolutely requires Linux procfs support"
IGNORE= "This software absolutely requires Linux procfs support"
.endif
.if !exists(${SRC_BASE}/Makefile)
BROKEN= "Kernel source files required"
IGNORE= "Kernel source files required"
.endif
.if ${OSVERSION} < 500023

View File

@ -15,7 +15,7 @@ MAINTAINER= jon@witchspace.com
COMMENT= A graphical screensaver kernel module
.if !exists(/usr/src/sys/dev/syscons/syscons.h)
BROKEN= "Requires kernel source (/usr/src/sys) to build"
IGNORE= "Requires kernel source (/usr/src/sys) to build"
.endif
do-install:

View File

@ -15,7 +15,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A plasma-effect screensaver kernel module
.if !exists(/usr/src/sys/dev/syscons/syscons.h)
BROKEN= "Requires kernel source (/usr/src/sys) to build"
IGNORE= "Requires kernel source (/usr/src/sys) to build"
.endif
do-install:

View File

@ -13,16 +13,16 @@ MASTER_SITES= ftp://ftp.stacken.kth.se/pub/arla/
MAINTAINER= ports@FreeBSD.org
COMMENT= A free AFS client implementation
BROKEN= "Does not build"
ROKEN= "Does not build"
USE_XLIB= yes
.if !exists(/usr/lib/libkafs.a)
BROKEN= requires kerberos
IGNORE= requires kerberos
.endif
.if !exists(/usr/src/sys/kern/vnode_if.src)
BROKEN= requires kernel source
IGNORE= requires kernel source
.endif
GNU_CONFIGURE= yes

View File

@ -14,7 +14,7 @@ MAINTAINER= bp@butya.kz
COMMENT= Client for Novell NetWare servers
.if !exists(/usr/src/sys/kern/vnode_if.src)
BROKEN= requires kernel source
IGNORE= requires kernel source
.endif
IS_INTERACTIVE= true

View File

@ -19,7 +19,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
USE_REINPLACE= yes
.if !exists(/usr/src/sys/dev/usb/usb.h)
BROKEN= "Requires kernel source (/usr/src/sys) to build"
IGNORE= "Requires kernel source (/usr/src/sys) to build"
.endif
post-build:

View File

@ -22,7 +22,7 @@ INSTALLS_SHLIB= yes
# which may differ from release to release.
.if !exists(/usr/src/lib/libc)
BROKEN= You need to have libc sources installed in /usr/src/lib/libc \
IGNORE= You need to have libc sources installed in /usr/src/lib/libc \
before compiling.
.endif

View File

@ -26,7 +26,7 @@ FLAG!= /usr/bin/grep -e cd9660_wchar2char \
/usr/bin/true
.if (${FLAG} == "")
BROKEN= "your FreeBSD version is not supported. Please update to the latest version and try again"
IGNORE= "your FreeBSD version is not supported. Please update to the latest version and try again"
.endif
.include <bsd.port.pre.mk>