pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk For developer mode, warn about packages without des...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/13d8a86a8b03
branches:  trunk
changeset: 393685:13d8a86a8b03
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat May 23 23:48:44 2009 +0000

description:
For developer mode, warn about packages without destdir support.

diffstat:

 mk/bsd.prefs.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 009f38d17be3 -r 13d8a86a8b03 mk/bsd.prefs.mk
--- a/mk/bsd.prefs.mk   Sat May 23 21:45:45 2009 +0000
+++ b/mk/bsd.prefs.mk   Sat May 23 23:48:44 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.293 2009/05/19 09:33:53 wiz Exp $
+# $NetBSD: bsd.prefs.mk,v 1.294 2009/05/23 23:48:44 joerg Exp $
 #
 # This file includes the mk.conf file, which contains the user settings.
 #
@@ -399,6 +399,10 @@
 PKG_FAIL_REASON+=      "PKG_DESTDIR_SUPPORT must be \`\`destdir'' or \`\`user-destdir''."
 .endif
 
+.if defined(PKG_DEVELOPER) && empty(PKG_DESTDIR_SUPPORT)
+WARNINGS+=     "[bsd.prefs.mk] The package ${PKGNAME} misses DESTDIR support."
+.endif
+
 # When using staged installation, everything gets installed into
 # ${DESTDIR}${PREFIX} instead of ${PREFIX} directly.
 #



Home | Main Index | Thread Index | Old Index