summaryrefslogtreecommitdiff
path: root/mk/pkg-bottom.mk
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2011-01-06 20:36:50 +0000
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-06 21:45:06 +0100
commit163b7e51f5dba02aa640ce933976719c7b8018d5 (patch)
tree4978d10620339a557c74265d781d5c951a6e11d6 /mk/pkg-bottom.mk
parent995996dc0123cfbb483629aa6307c180a9eeeffa (diff)
automatic post-postinstall targets, and exemplary switch of zlib to it
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'mk/pkg-bottom.mk')
-rw-r--r--mk/pkg-bottom.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/mk/pkg-bottom.mk b/mk/pkg-bottom.mk
index 122198e45..6e5fdc3a5 100644
--- a/mk/pkg-bottom.mk
+++ b/mk/pkg-bottom.mk
@@ -127,6 +127,7 @@ endif
pre-install:
do-install:
post-install:
+spkg-install: ${ALL_POSTINST}
${_FAKE_COOKIE}: ${_BUILD_COOKIE}
-rm -f ${_ALL_CONTROLS}
@mkdir -p '${STAGING_PKG_DIR}' ${WRKINST} '${STAGING_TARGET_DIR}/scripts'
@@ -145,6 +146,7 @@ else
@echo "Invalid INSTALL_STYLE '${INSTALL_STYLE}'" >&2
@exit 1
endif
+ env ${MAKE_ENV} ${MAKE} spkg-install $(MAKE_TRACE)
ifeq ($(ADK_NATIVE),)
@for a in ${WRKINST}/usr/{bin/*-config,lib/pkgconfig/*.pc}; do \
[[ -e $$a ]] || continue; \