summaryrefslogtreecommitdiff
path: root/package/apr
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-03-17 20:07:53 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-03-17 20:07:53 +0100
commit22c67cf4d153a696a4e739c69a997d52ed5865e3 (patch)
treef917ac6144794a292a3d2f66e52e47f033c0fbf3 /package/apr
parent0dd1969c3517fec51550e43799ad8dc801d573e0 (diff)
move changes to post-build
Diffstat (limited to 'package/apr')
-rw-r--r--package/apr/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/package/apr/Makefile b/package/apr/Makefile
index 21052d3a1..9d93e72ed 100644
--- a/package/apr/Makefile
+++ b/package/apr/Makefile
@@ -42,16 +42,18 @@ else
CONFIGURE_ARGS+= --disable-ipv6
endif
+post-build:
+ # we need to patch paths to get apr-util compiling
+ $(SED) "s,\(^installbuilddir=\"\)\(.*\),\1${STAGING_DIR}\2," \
+ ${WRKBUILD}/apr-1-config
+ $(SED) "s,\(^datadir=\"\)\(.*\),\1${STAGING_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/
- # we need to patch paths to get apr-util compiling
- $(SED) "s,\(^installbuilddir=\"\)\(.*\),\1${STAGING_DIR}\2," \
- ${WRKINST}/usr/bin/apr-1-config
- $(SED) "s,\(^datadir=\"\)\(.*\),\1${STAGING_DIR}\2," \
- ${WRKINST}/usr/bin/apr-1-config
apr-dev-install:
${INSTALL_DIR} ${IDIR_APR_DEV}/usr/include