diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-03-17 20:07:53 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-03-17 20:07:53 +0100 |
commit | 22c67cf4d153a696a4e739c69a997d52ed5865e3 (patch) | |
tree | f917ac6144794a292a3d2f66e52e47f033c0fbf3 | |
parent | 0dd1969c3517fec51550e43799ad8dc801d573e0 (diff) |
move changes to post-build
-rw-r--r-- | package/apr/Makefile | 12 |
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 |