summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-10-29 11:51:00 +0000
committerminskim <minskim@pkgsrc.org>2004-10-29 11:51:00 +0000
commit1516de514ebe1633bdd841b2f186d9ff715224ef (patch)
treeff6a5c44e1b3d75c97e1fa69931670d9d509c5f7
parent3246fcc7b98eac4bf67e4c85c6aed0ea9f8aeb68 (diff)
downloadpkgsrc-1516de514ebe1633bdd841b2f186d9ff715224ef.tar.gz
Set directory permission to PKGDIRMODE to avoid creating a read-only
directory; deinstalling files from a read-only directory fails on Linux. OK'ed by adrianp@.
-rw-r--r--devel/apr/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/apr/Makefile b/devel/apr/Makefile
index e07098b251c..4a03df809d2 100644
--- a/devel/apr/Makefile
+++ b/devel/apr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2004/10/03 00:13:24 tv Exp $
+# $NetBSD: Makefile,v 1.25 2004/10/29 11:51:00 minskim Exp $
PKGNAME= apr-${APR_VERSION}.${APACHE_VERSION}
PKGREVISION= 1
@@ -60,7 +60,7 @@ post-install:
${RM} ${PREFIX}/libexec/apr/libtool
${INSTALL_SCRIPT} ${PKG_LIBTOOL} ${PREFIX}/libexec/apr/libtool
@${CHMOD} ${SHAREMODE} ${PREFIX}/include/apr-0/*.h
- @${CHMOD} ${BINMODE} ${PREFIX}/include/apr-0
+ @${CHMOD} ${PKGDIRMODE} ${PREFIX}/include/apr-0
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/include/apr-0/
.include "../../www/apache2/Makefile.common"