pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/mk-files Disallow build with PKGSRC_LOCKTYPE=sle...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b15dd2bf957e
branches:  trunk
changeset: 513724:b15dd2bf957e
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Jun 02 13:20:56 2006 +0000

description:
Disallow build with PKGSRC_LOCKTYPE=sleep, it can't install.

diffstat:

 devel/mk-files/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 624d75a0f1ad -r b15dd2bf957e devel/mk-files/Makefile
--- a/devel/mk-files/Makefile   Fri Jun 02 13:14:22 2006 +0000
+++ b/devel/mk-files/Makefile   Fri Jun 02 13:20:56 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2005/06/27 20:28:12 erh Exp $
+# $NetBSD: Makefile,v 1.19 2006/06/02 13:20:56 joerg Exp $
 #
 
 DISTNAME=      mk-20050405
@@ -17,6 +17,11 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+.if ${PKGSRC_LOCKTYPE} == sleep
+PKG_FAIL_REASON=       "Recurses against itself"
+.endif
+
+
 PLIST_SRC=${WRKDIR}/.PLIST_SRC
 
 do-install:



Home | Main Index | Thread Index | Old Index