summaryrefslogtreecommitdiff
path: root/devel/apr
diff options
context:
space:
mode:
Diffstat (limited to 'devel/apr')
-rw-r--r--devel/apr/Makefile20
1 files changed, 11 insertions, 9 deletions
diff --git a/devel/apr/Makefile b/devel/apr/Makefile
index 18a8b149565..5744c50917e 100644
--- a/devel/apr/Makefile
+++ b/devel/apr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2006/10/05 17:05:59 tron Exp $
+# $NetBSD: Makefile,v 1.47 2006/10/09 12:52:34 joerg Exp $
.include "../../www/apache2/Makefile.common"
@@ -9,6 +9,8 @@ CATEGORIES= devel
HOMEPAGE= http://apr.apache.org/
COMMENT= Apache Portable Runtime
+PKG_DESTDIR_SUPPORT= user-destdir
+
# Don't bump this when apache upgrades; it is only apache2-2.0.45 and
# under that includes its own apr. apr was split out in 2.0.45nb1.
CONFLICTS= apache2<=2.0.45
@@ -53,14 +55,14 @@ do-configure:
${APU_CONFIGURE_ARGS}
post-install:
- ${RM} ${PREFIX}/libexec/apr/libtool
- ${INSTALL_SCRIPT} ${PKG_LIBTOOL} ${PREFIX}/libexec/apr/libtool
- ${INSTALL_DATA_DIR} ${PREFIX}/include/apr-0/arch/unix
- ${INSTALL_DATA} ${WRKSRC}/apr/include/arch/*.h ${PREFIX}/include/apr-0/arch
- ${INSTALL_DATA} ${WRKSRC}/apr/include/arch/unix/*.h ${PREFIX}/include/apr-0/arch/unix/
- ${CHMOD} ${SHAREMODE} ${PREFIX}/include/apr-0/*.h
- ${CHMOD} ${PKGDIRMODE} ${PREFIX}/include/apr-0
- ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/include/apr-0/
+ ${RM} ${DESTDIR}${PREFIX}/libexec/apr/libtool
+ ${INSTALL_SCRIPT} ${PKG_LIBTOOL} ${DESTDIR}${PREFIX}/libexec/apr/libtool
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/apr-0/arch/unix
+ ${INSTALL_DATA} ${WRKSRC}/apr/include/arch/*.h ${DESTDIR}${PREFIX}/include/apr-0/arch
+ ${INSTALL_DATA} ${WRKSRC}/apr/include/arch/unix/*.h ${DESTDIR}${PREFIX}/include/apr-0/arch/unix/
+ ${CHMOD} ${SHAREMODE} ${DESTDIR}${PREFIX}/include/apr-0/*.h
+ ${CHMOD} ${PKGDIRMODE} ${DESTDIR}${PREFIX}/include/apr-0
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${PREFIX}/include/apr-0/
.include "../../converters/libiconv/buildlink3.mk"