summaryrefslogtreecommitdiff
path: root/devel/apr/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2006-04-30 21:58:12 +0000
committerjoerg <joerg>2006-04-30 21:58:12 +0000
commit2f810f802167106fcdf35e331e873ff225b579d4 (patch)
treefd83d1eca599b9b379fd19957d386d85e3b73b0f /devel/apr/Makefile
parent02a23f39317484d5540995bf7a25589e0e2c60fc (diff)
downloadpkgsrc-2f810f802167106fcdf35e331e873ff225b579d4.tar.gz
Install arch/unix headers as well, useful for mostly platform independent
programs normally getting it from internal apr. Bump revision.
Diffstat (limited to 'devel/apr/Makefile')
-rw-r--r--devel/apr/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/devel/apr/Makefile b/devel/apr/Makefile
index c5251a2add8..81d1c1a7f88 100644
--- a/devel/apr/Makefile
+++ b/devel/apr/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.42 2006/04/22 09:22:07 rillig Exp $
+# $NetBSD: Makefile,v 1.43 2006/04/30 21:58:12 joerg Exp $
.include "../../www/apache2/Makefile.common"
PKGNAME= apr-${APR_VERSION}.${APACHE_VERSION}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= devel
HOMEPAGE= http://apr.apache.org/
@@ -55,6 +55,9 @@ do-configure:
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/