summaryrefslogtreecommitdiff
path: root/package/apr
diff options
context:
space:
mode:
Diffstat (limited to 'package/apr')
-rw-r--r--package/apr/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/apr/Makefile b/package/apr/Makefile
index ba53c9c92..3a6524c58 100644
--- a/package/apr/Makefile
+++ b/package/apr/Makefile
@@ -42,15 +42,15 @@ endif
pre-build:
# we need to patch paths to get apr-util compiling
- $(SED) "s,\(^installbuilddir=\"\)\(.*\),\1${STAGING_DIR}\2," \
+ $(SED) "s,\(^installbuilddir=\"\)\(.*\),\1${STAGING_TARGET_DIR}\2," \
${WRKBUILD}/apr-1-config
- $(SED) "s,\(^datadir=\"\)\(.*\),\1${STAGING_DIR}\2," \
+ $(SED) "s,\(^datadir=\"\)\(.*\),\1${STAGING_TARGET_DIR}\2," \
${WRKBUILD}/apr-1-config
apr-install:
${INSTALL_DIR} ${IDIR_APR}/usr/lib
${CP} ${WRKINST}/usr/lib/libapr-1.so* ${IDIR_APR}/usr/lib/
- ${INSTALL_DIR} ${STAGING_DIR}/usr/share/build-1
- ${CP} ${WRKINST}/usr/share/build-1/* ${STAGING_DIR}/usr/share/build-1/
+ ${INSTALL_DIR} ${STAGING_TARGET_DIR}/usr/share/build-1
+ ${CP} ${WRKINST}/usr/share/build-1/* ${STAGING_TARGET_DIR}/usr/share/build-1/
include ${TOPDIR}/mk/pkg-bottom.mk