From 7fec5d6aacb2bff86155e4642cf6a313cd92c6e7 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 8 Jun 2015 08:01:59 +0200 Subject: [PATCH] hooks/script-wrapper: fix generic_wrapper3: just replace prefix/libdir. --- common/hooks/pre-configure/02-script-wrapper.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/hooks/pre-configure/02-script-wrapper.sh b/common/hooks/pre-configure/02-script-wrapper.sh index dcff6f6613..f44a3332b8 100644 --- a/common/hooks/pre-configure/02-script-wrapper.sh +++ b/common/hooks/pre-configure/02-script-wrapper.sh @@ -41,8 +41,6 @@ generic_wrapper3() { [ -x ${XBPS_WRAPPERDIR}/${wrapper} ] && return 0 cp ${XBPS_CROSS_BASE}/usr/bin/${wrapper} ${XBPS_WRAPPERDIR} - sed -e "s,/usr/include,${XBPS_CROSS_BASE}/usr/include,g" -i ${XBPS_WRAPPERDIR}/${wrapper} - sed -e "s,/usr/lib,${XBPS_CROSS_BASE}/usr/lib,g" -i ${XBPS_WRAPPERDIR}/${wrapper} sed -e "s,^libdir=.*,libdir=${XBPS_CROSS_BASE}/usr/lib,g" -i ${XBPS_WRAPPERDIR}/${wrapper} sed -e "s,^prefix=.*,prefix=${XBPS_CROSS_BASE}/usr," -i ${XBPS_WRAPPERDIR}/${wrapper}