diff options
author | delphij <delphij@FreeBSD.org> | 2006-07-17 15:00:36 +0800 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2006-07-17 15:00:36 +0800 |
commit | 6b792b53df6c4bd968db250abcdd9b74ac87d18f (patch) | |
tree | 751884774520024f7bbadc2935d159d73f04fb75 /net/openldap24-server | |
parent | f7181524c725dc9afa650b48f638c639e8eb4557 (diff) | |
download | freebsd-ports-gnome-6b792b53df6c4bd968db250abcdd9b74ac87d18f.tar.gz freebsd-ports-gnome-6b792b53df6c4bd968db250abcdd9b74ac87d18f.tar.zst freebsd-ports-gnome-6b792b53df6c4bd968db250abcdd9b74ac87d18f.zip |
Switch to root's credential during pre-install stage. This fixes
installation initialized by a unprivileged user.
Reported by: Michal Bartkowiak <michal bartkowiak biz>
Diffstat (limited to 'net/openldap24-server')
-rw-r--r-- | net/openldap24-server/Makefile | 2 |
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 |