From 3a58d6a95405fcb1121860137ace1b136319dcbe Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 23 Oct 2013 22:09:19 +0200 Subject: spkg-install must be before script install logic --- mk/pkg-bottom.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mk/pkg-bottom.mk') diff --git a/mk/pkg-bottom.mk b/mk/pkg-bottom.mk index 1a35599fd..c3bf0b848 100644 --- a/mk/pkg-bottom.mk +++ b/mk/pkg-bottom.mk @@ -143,6 +143,7 @@ else @echo "Invalid INSTALL_STYLE '${INSTALL_STYLE}'" >&2 @exit 1 endif + env ${MAKE_ENV} ${MAKE} spkg-install $(MAKE_TRACE) @rm -f '${STAGING_PKG_DIR}/${PKG_NAME}.scripts' @for a in ${WRKINST}/usr/bin/*-config*; do \ [[ -e $$a ]] || continue; \ @@ -158,7 +159,6 @@ endif sed -e "s,^prefix=.*,prefix=${STAGING_TARGET_DIR}/usr," $$a > \ ${STAGING_DIR}/usr/lib/pkgconfig/$$(basename $$a); \ done - env ${MAKE_ENV} ${MAKE} spkg-install $(MAKE_TRACE) ifeq (,$(filter noremove,${PKG_OPTS})) @if test -s '${STAGING_PKG_DIR}/${PKG_NAME}'; then \ cd '${STAGING_DIR}'; \ -- cgit v1.2.3