diff options
author | joerg <joerg> | 2009-05-23 23:48:44 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-05-23 23:48:44 +0000 |
commit | 30abb83a25fc09cb80946acc4f132ed0ee773e10 (patch) | |
tree | 40ce146ebb37806bfd9c18f659391fddc3a48719 /mk | |
parent | f0505985e569eec13523bd22db4701c6019817f1 (diff) | |
download | pkgsrc-30abb83a25fc09cb80946acc4f132ed0ee773e10.tar.gz |
For developer mode, warn about packages without destdir support.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.prefs.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk index ba4194057dc..ecef995076e 100644 --- a/mk/bsd.prefs.mk +++ b/mk/bsd.prefs.mk @@ -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 @@ _USE_DESTDIR= destdir 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. # |