summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjmc <jmc>2003-07-23 20:15:01 +0000
committerjmc <jmc>2003-07-23 20:15:01 +0000
commit42f704932b63f6007f5a958caf47b23571b10326 (patch)
tree0cb256f39d87ce508df2a072de55934e65a7e6f4 /mk
parent638f0986200811d21d44b21b4f35751020823d14 (diff)
downloadpkgsrc-42f704932b63f6007f5a958caf47b23571b10326.tar.gz
Use PKG_SKIP_REASON instead of PKG_FAIL_REASON here if qualifications aren't
met. The same message gets to the user but now it won't show a package as broken on bulk builds that really is simply unavaiable on a given platform
Diffstat (limited to 'mk')
-rw-r--r--mk/pthread.buildlink2.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/mk/pthread.buildlink2.mk b/mk/pthread.buildlink2.mk
index 66593837f9f..33887dc936e 100644
--- a/mk/pthread.buildlink2.mk
+++ b/mk/pthread.buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pthread.buildlink2.mk,v 1.13 2003/07/11 23:37:13 grant Exp $
+# $NetBSD: pthread.buildlink2.mk,v 1.14 2003/07/23 20:15:01 jmc Exp $
#
# The pthreads strategy for pkgsrc is to "bless" a particular pthread
# package as the Official Pthread Replacement (OPR). A package that uses
@@ -42,7 +42,7 @@
# (3) Add "require" to PTHREAD_OPTS prior to including
# pthread.buildlink2.mk. This will make the package use the native
# pthread library or else use the OPR package, and will otherwise set
-# PKG_FAIL_REASON if neither can be used, e.g.,
+# PKG_SKIP_REASON if neither can be used, e.g.,
#
# PTHREAD_OPTS+= require
# #
@@ -122,7 +122,7 @@ PTHREAD_TYPE= native
. if !empty(PTHREAD_OPTS:Mnative)
PTHREAD_TYPE= none
. if !empty(PTHREAD_OPTS:Mrequire) && empty(PTHREAD_OPTS:Moptional)
-PKG_FAIL_REASON= "${PKGNAME} requires a native pthreads implementation."
+PKG_SKIP_REASON= "${PKGNAME} requires a native pthreads implementation."
. endif
. else
PTHREAD_TYPE= none
@@ -133,7 +133,7 @@ PTHREAD_TYPE= ${_PKG_PTHREAD}
. endfor
. if ${PTHREAD_TYPE} == "none" && \
!empty(PTHREAD_OPTS:Mrequire) && empty(PTHREAD_OPTS:Moptional)
-PKG_FAIL_REASON= "${PKGNAME} requires a working pthreads implementation."
+PKG_SKIP_REASON= "${PKGNAME} requires a working pthreads implementation."
. endif
. endif
.endif
@@ -194,7 +194,7 @@ BUILDLINK_CFLAGS.pthread= ${BUILDLINK_CFLAGS.${_PKG_PTHREAD}}
BUILDLINK_LDFLAGS.pthread= -lpthread
. include "${_PKG_PTHREAD_BUILDLINK2_MK}"
. else
-PKG_FAIL_REASON= "${PKGNAME} needs pthreads, but ${_PKG_PTHREAD_BUILDLINK2_MK} is missing."
+PKG_SKIP_REASON= "${PKGNAME} needs pthreads, but ${_PKG_PTHREAD_BUILDLINK2_MK} is missing."
. endif
.endif