diff options
author | rillig <rillig@pkgsrc.org> | 2006-11-11 23:31:38 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-11-11 23:31:38 +0000 |
commit | 100f6183010c800df061f9cf84659388f42b96d4 (patch) | |
tree | 41f3bdee166da846d8b245f12c8491d5d6e53af1 /mk/check | |
parent | 1bf88561ba917f4e3b48b0172a902350d0e932be (diff) | |
download | pkgsrc-100f6183010c800df061f9cf84659388f42b96d4.tar.gz |
Moved the check whether check-shlibs should be run from
install/install.mk to check/check-shlibs.mk.
Renamed check-shlibs to _check-shlibs. Since it had been declared as
"private" before, this will not break anything.
Diffstat (limited to 'mk/check')
-rw-r--r-- | mk/check/check-shlibs.mk | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/mk/check/check-shlibs.mk b/mk/check/check-shlibs.mk index 5f79ca67022..5e36fe46f31 100644 --- a/mk/check/check-shlibs.mk +++ b/mk/check/check-shlibs.mk @@ -1,4 +1,4 @@ -# $NetBSD: check-shlibs.mk,v 1.6 2006/11/11 23:27:51 rillig Exp $ +# $NetBSD: check-shlibs.mk,v 1.7 2006/11/11 23:31:38 rillig Exp $ # # This file verifies that all libraries used by the package can be found # at run-time. @@ -29,7 +29,12 @@ _CHECK_SHLIBS_ERE= /(bin/|sbin/|libexec/|lib/lib.*\.so|lib/lib.*\.dylib) _CHECK_SHLIBS_FILELIST_CMD?= ${SED} -e '/^@/d' ${PLIST} -check-shlibs: error-check .PHONY +.if !empty(CHECK_SHLIBS:M[Yy][Ee][Ss]) && \ + !empty(CHECK_SHLIBS_SUPPORTED:M[Yy][Ee][Ss]) +privileged-install-hook: _check-shlibs +.endif + +_check-shlibs: error-check .PHONY @${STEP_MSG} "Checking for missing run-time search paths in ${PKGNAME}" ${RUN} rm -f ${ERROR_DIR}/${.TARGET} ${_PKG_SILENT}${_PKG_DEBUG} \ |