diff options
author | jlam <jlam@pkgsrc.org> | 2017-06-07 20:24:19 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2017-06-07 20:24:19 +0000 |
commit | 85aa4149e4733e0521030fe81d4f12e31782cba3 (patch) | |
tree | f98593db8328de7c3c770a75b7ce8a0ceff4408e /mk/pkgformat | |
parent | 7c5a1cabaa5b804b00ba16a9a9240a906917f1d9 (diff) | |
download | pkgsrc-85aa4149e4733e0521030fe81d4f12e31782cba3.tar.gz |
Substitute for LDCONFIG_ADD_CMD and LDCONFIG_REMOVE_CMD in scripts.
LDCONFIG_ADD_CMD and LDCONFIG_REMOVE_CMD are set by emulator/*.mk
in order to update the library search paths in the emulated system
directories. Substitute for those values, but default them to the
empty string so that the default action taken by the "shlibs" task
can be used.
Diffstat (limited to 'mk/pkgformat')
-rw-r--r-- | mk/pkgformat/pkg/templates/header | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/pkgformat/pkg/templates/header b/mk/pkgformat/pkg/templates/header index 5d029909f96..92cc258a1fd 100644 --- a/mk/pkgformat/pkg/templates/header +++ b/mk/pkgformat/pkg/templates/header @@ -29,7 +29,7 @@ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # -# $NetBSD: header,v 1.2 2017/06/07 20:24:01 jlam Exp $ +# $NetBSD: header,v 1.3 2017/06/07 20:24:19 jlam Exp $ # Package task loader. : ${TASK_MODULE_DIR:=@LOCALBASE@/share/pkgtasks-1} @@ -130,6 +130,10 @@ PKG_SYSCONFDIR="@PKG_SYSCONFDIR@" # Variables for the local state directory. VARBASE="@VARBASE@" +# Variables for updating the library search paths cache. +LDCONFIG_ADD_CMD="@LDCONFIG_ADD_CMD@" +LDCONFIG_REMOVE_CMD="@LDCONFIG_REMOVE_CMD@" + # The current working directory from which the script was invoked. CURDIR=$( ${PWD_CMD} ) |