aboutsummaryrefslogtreecommitdiff
path: root/net/openldap24-server
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2006-07-17 07:00:36 +0000
committerXin LI <delphij@FreeBSD.org>2006-07-17 07:00:36 +0000
commitb2bdf3f6e89760d36d3ec5c7b5c27e71633366c3 (patch)
tree82888f4a745f4f3a5c1d4ac894b4d5965f04b357 /net/openldap24-server
parent98aa8bd0ef8073bfdd4abd4bcd93a841101ed422 (diff)
Switch to root's credential during pre-install stage. This fixes
installation initialized by a unprivileged user. Reported by: Michal Bartkowiak <michal bartkowiak biz>
Notes
Notes: svn path=/head/; revision=168052
Diffstat (limited to 'net/openldap24-server')
-rw-r--r--net/openldap24-server/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile
index 2be3a4cf9b3a..bc08000ffbde 100644
--- a/net/openldap24-server/Makefile
+++ b/net/openldap24-server/Makefile
@@ -454,7 +454,7 @@ test: build
${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test
.endif
-pre-install:
+pre-su-install:
@if [ -f ${PKGINSTALL} ]; then \
${SETENV} PKG_PREFIX="${PREFIX}" PKG_DESTDIR="${DESTDIR}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL; \
fi