summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rw-r--r--mk/pkg-bottom.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/pkg-bottom.mk b/mk/pkg-bottom.mk
index dd8e81c41..288616a7c 100644
--- a/mk/pkg-bottom.mk
+++ b/mk/pkg-bottom.mk
@@ -151,7 +151,8 @@ endif
done
@for a in ${WRKINST}/usr/lib/pkgconfig/*.pc; do \
[[ -e $$a ]] || continue; \
- sed -e "s,^prefix=.*,prefix=${STAGING_TARGET_DIR}/usr," $$a > \
+ sed -e "s,^prefix=.*,prefix=${STAGING_TARGET_DIR}/usr," \
+ -e "s,^prefix = .*,prefix = ${STAGING_TARGET_DIR}/usr," $$a > \
${STAGING_DIR}/usr/lib/pkgconfig/$$(basename $$a); \
done
ifeq (,$(filter noremove,${PKG_OPTS}))