diff options
author | joerg <joerg> | 2014-10-12 23:39:17 +0000 |
---|---|---|
committer | joerg <joerg> | 2014-10-12 23:39:17 +0000 |
commit | 145a3c1f69ac1b84d7cdc58bf5ca105c94d88975 (patch) | |
tree | 47affa396bbf5643d9837178dfc111fc24178dc5 /mk/check | |
parent | 5687222dd06325036c580cc0dacbe44fc2ee1452 (diff) | |
download | pkgsrc-145a3c1f69ac1b84d7cdc58bf5ca105c94d88975.tar.gz |
Simplify PKG_DEVELOPER checks.
Diffstat (limited to 'mk/check')
-rw-r--r-- | mk/check/check-fakehome.mk | 4 | ||||
-rw-r--r-- | mk/check/check-files.mk | 7 | ||||
-rw-r--r-- | mk/check/check-headers.mk | 4 | ||||
-rw-r--r-- | mk/check/check-interpreter.mk | 4 | ||||
-rw-r--r-- | mk/check/check-perms.mk | 4 | ||||
-rw-r--r-- | mk/check/check-portability.mk | 4 | ||||
-rw-r--r-- | mk/check/check-shlibs.mk | 7 | ||||
-rw-r--r-- | mk/check/check-stripped.mk | 4 | ||||
-rw-r--r-- | mk/check/check-wrkref.mk | 7 |
9 files changed, 24 insertions, 21 deletions
diff --git a/mk/check/check-fakehome.mk b/mk/check/check-fakehome.mk index 6425ae17a84..f795d1b1403 100644 --- a/mk/check/check-fakehome.mk +++ b/mk/check/check-fakehome.mk @@ -1,4 +1,4 @@ -# $NetBSD: check-fakehome.mk,v 1.3 2010/08/24 19:08:29 bad Exp $ +# $NetBSD: check-fakehome.mk,v 1.4 2014/10/12 23:39:17 joerg Exp $ # # This file checks that the package does not install files to $HOME. # @@ -19,7 +19,7 @@ _USER_VARS.check-fakehome= CHECK_FAKEHOME _PKG_VARS.check-fakehome= # None for now. One might be added to override # the test if the fakehome test is made fatal. -.if defined(PKG_DEVELOPER) && ${PKG_DEVELOPER} != "no" +.if ${PKG_DEVELOPER:Uno} != "no" CHECK_FAKEHOME?= yes .else CHECK_FAKEHOME?= no diff --git a/mk/check/check-files.mk b/mk/check/check-files.mk index 0b9a477448d..102074ca9a7 100644 --- a/mk/check/check-files.mk +++ b/mk/check/check-files.mk @@ -1,4 +1,4 @@ -# $NetBSD: check-files.mk,v 1.30 2014/02/20 09:15:15 obache Exp $ +# $NetBSD: check-files.mk,v 1.31 2014/10/12 23:39:17 joerg Exp $ # # This file checks that the list of installed files matches the PLIST. # For that purpose it records the file list of LOCALBASE before and @@ -29,10 +29,11 @@ _VARGROUPS+= check-files _USER_VARS.check-files= CHECK_FILES CHECK_FILES_STRICT _PKG_VARS.check-files= CHECK_FILES_SKIP -.if defined(PKG_DEVELOPER) && ${PKG_DEVELOPER} != "no" +.if ${PKG_DEVELOPER:Uno} != "no" CHECK_FILES?= yes -.endif +.else CHECK_FILES?= no +.endif CHECK_FILES_STRICT?= no # Info index files updated when a new info file is added. diff --git a/mk/check/check-headers.mk b/mk/check/check-headers.mk index 80638dda033..3089caf4d35 100644 --- a/mk/check/check-headers.mk +++ b/mk/check/check-headers.mk @@ -1,4 +1,4 @@ -# $NetBSD: check-headers.mk,v 1.6 2010/08/24 19:08:29 bad Exp $ +# $NetBSD: check-headers.mk,v 1.7 2014/10/12 23:39:17 joerg Exp $ # # This file checks the C and C++ header files for possible problems. # @@ -19,7 +19,7 @@ _VARGROUPS+= check-headers _USER_VARS.check-headers= CHECK_HEADERS _PKG_VARS.check-headers= CHECK_HEADERS_SKIP -.if defined(PKG_DEVELOPER) && ${PKG_DEVELOPER} != "no" +.if ${PKG_DEVELOPER:Uno} != "no" # still experimental #CHECK_HEADERS?= yes .endif diff --git a/mk/check/check-interpreter.mk b/mk/check/check-interpreter.mk index b026e6a5ea9..cbb8a73bedc 100644 --- a/mk/check/check-interpreter.mk +++ b/mk/check/check-interpreter.mk @@ -1,4 +1,4 @@ -# $NetBSD: check-interpreter.mk,v 1.27 2011/04/19 15:31:45 roy Exp $ +# $NetBSD: check-interpreter.mk,v 1.28 2014/10/12 23:39:17 joerg Exp $ # # This file checks that after installation, all files of the package # that start with a "#!" line will find their interpreter. Files that @@ -27,7 +27,7 @@ # Example: share/package1/* share/package2/somefile # -.if defined(PKG_DEVELOPER) && ${PKG_DEVELOPER} != "no" +.if ${PKG_DEVELOPER:Uno} != "no" CHECK_INTERPRETER?= yes .else CHECK_INTERPRETER?= no diff --git a/mk/check/check-perms.mk b/mk/check/check-perms.mk index 01fbd7b64fa..9e6f5a82493 100644 --- a/mk/check/check-perms.mk +++ b/mk/check/check-perms.mk @@ -1,4 +1,4 @@ -# $NetBSD: check-perms.mk,v 1.15 2014/05/09 11:59:27 richard Exp $ +# $NetBSD: check-perms.mk,v 1.16 2014/10/12 23:39:17 joerg Exp $ # # This file checks that after installation of a package, all files and # directories of that package have sensible permissions set. @@ -35,7 +35,7 @@ _VARGROUPS+= check-perms _USER_VARS.check-perms= CHECK_PERMS _PKG_VARS.check-perms= CHECK_PERMS_SKIP CHECK_PERMS_AUTOSKIP -.if defined(PKG_DEVELOPER) && ${PKG_DEVELOPER} != "no" +.if ${PKG_DEVELOPER:Uno} != "no" CHECK_PERMS?= yes .else CHECK_PERMS?= no diff --git a/mk/check/check-portability.mk b/mk/check/check-portability.mk index 3eba80c0a1d..1976ac0daae 100644 --- a/mk/check/check-portability.mk +++ b/mk/check/check-portability.mk @@ -1,4 +1,4 @@ -# $NetBSD: check-portability.mk,v 1.7 2010/08/24 19:08:29 bad Exp $ +# $NetBSD: check-portability.mk,v 1.8 2014/10/12 23:39:17 joerg Exp $ # # This file contains some checks that are applied to the configure # scripts to check for certain constructs that are known to cause @@ -33,7 +33,7 @@ _VARGROUPS+= check-portability _USER_VARS.check-portability= CHECK_PORTABILITY _PKG_VARS.check-portability= CHECK_PORTABILITY_SKIP -.if defined(PKG_DEVELOPER) && ${PKG_DEVELOPER} != "no" +.if ${PKG_DEVELOPER:Uno} != "no" CHECK_PORTABILITY?= yes .endif CHECK_PORTABILITY?= no diff --git a/mk/check/check-shlibs.mk b/mk/check/check-shlibs.mk index a440494b91c..1eb2c8b57d4 100644 --- a/mk/check/check-shlibs.mk +++ b/mk/check/check-shlibs.mk @@ -1,4 +1,4 @@ -# $NetBSD: check-shlibs.mk,v 1.23 2014/03/02 05:43:16 obache Exp $ +# $NetBSD: check-shlibs.mk,v 1.24 2014/10/12 23:39:17 joerg Exp $ # # This file verifies that all libraries used by the package can be found # at run-time. @@ -29,10 +29,11 @@ _VARGROUPS+= check-shlibs _USER_VARS.check-shlibs= CHECK_SHLIBS _PKG_VARS.check-shlibs= CHECK_SHLIBS_SUPPORTED -.if defined(PKG_DEVELOPER) && ${PKG_DEVELOPER} != "no" +.if ${PKG_DEVELOPER:Uno} != "no" CHECK_SHLIBS?= yes -.endif +.else CHECK_SHLIBS?= no +.endif CHECK_SHLIBS_SUPPORTED?= yes CHECK_SHLIBS_SKIP?= # none diff --git a/mk/check/check-stripped.mk b/mk/check/check-stripped.mk index 60d64685e33..bf2a11418eb 100644 --- a/mk/check/check-stripped.mk +++ b/mk/check/check-stripped.mk @@ -1,4 +1,4 @@ -# $NetBSD: check-stripped.mk,v 1.5 2013/05/12 06:17:50 obache Exp $ +# $NetBSD: check-stripped.mk,v 1.6 2014/10/12 23:39:17 joerg Exp $ # # This file checks that after installation, all binaries conform to the # setting of INSTALL_UNSTRIPPED. @@ -20,7 +20,7 @@ # Example: bin/* sbin/foo # -.if defined(PKG_DEVELOPER) && ${PKG_DEVELOPER} != "no" +.if ${PKG_DEVELOPER:Uno} != "no" CHECK_STRIPPED?= no # XXX: change to "yes" later .else CHECK_STRIPPED?= no diff --git a/mk/check/check-wrkref.mk b/mk/check/check-wrkref.mk index cd177ee70af..1a2ac0d9e54 100644 --- a/mk/check/check-wrkref.mk +++ b/mk/check/check-wrkref.mk @@ -1,4 +1,4 @@ -# $NetBSD: check-wrkref.mk,v 1.22 2014/09/04 16:09:33 jperkin Exp $ +# $NetBSD: check-wrkref.mk,v 1.23 2014/10/12 23:39:17 joerg Exp $ # # This file checks that the installed files don't contain any strings # that point to the directory where the package had been built, to make @@ -41,10 +41,11 @@ _VARGROUPS+= check-wrkref _USER_VARS.check-wrkref= CHECK_WRKREF _PKG_VARS.check-wrkref= CHECK_WRKREF_SKIP -.if defined(PKG_DEVELOPER) && ${PKG_DEVELOPER} != "no" +.if ${PKG_DEVELOPER:Uno} != "no" CHECK_WRKREF?= tools home -.endif +.else CHECK_WRKREF?= no +.endif CHECK_WRKREF_SKIP?= # none _CHECK_WRKREF_FILELIST_CMD?= ${PKG_FILELIST_CMD} |