aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2009-09-08 06:27:13 +0800
committerdelphij <delphij@FreeBSD.org>2009-09-08 06:27:13 +0800
commita301f374c0853a1192f66f9e3832d277a4dfe535 (patch)
treead8671bd2575747578137bd217148c8086c1ce62 /net
parent6893bf01cd7ebab3a4fcc6972e54731261ba3b7e (diff)
downloadfreebsd-ports-gnome-a301f374c0853a1192f66f9e3832d277a4dfe535.tar.gz
freebsd-ports-gnome-a301f374c0853a1192f66f9e3832d277a4dfe535.tar.zst
freebsd-ports-gnome-a301f374c0853a1192f66f9e3832d277a4dfe535.zip
Add a missing / or otherwise the generated script would point to wrong
directory. PR: ports/138618 Reported by: Alexander Wittig <alexander wittig name>
Diffstat (limited to 'net')
-rw-r--r--net/openldap24-server/Makefile2
-rw-r--r--net/openldap24-server/files/slapd.sh.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile
index 94e2d8ada326..047ebd8377d9 100644
--- a/net/openldap24-server/Makefile
+++ b/net/openldap24-server/Makefile
@@ -40,7 +40,7 @@ BROKEN= incompatible OpenLDAP version: ${WANT_OPENLDAP_VER}
.endif
PORTREVISION_CLIENT= 0
-PORTREVISION_SERVER= 0
+PORTREVISION_SERVER= 1
.if !defined(CLIENT_ONLY)
OPTIONS= SASL "With (Cyrus) SASL2 support" off \
diff --git a/net/openldap24-server/files/slapd.sh.in b/net/openldap24-server/files/slapd.sh.in
index 490e3dfb4610..873115fe07bc 100644
--- a/net/openldap24-server/files/slapd.sh.in
+++ b/net/openldap24-server/files/slapd.sh.in
@@ -63,7 +63,7 @@ if checkyesno slapd_cn_config; then
else
required_dirs="%%LDAP_RUN_DIR%%"
required_files="%%PREFIX%%/etc/openldap/slapd.conf"
- DATABASEDIR=`awk '$1 == "directory" { print $2 }' "%%PREFIX%%etc/openldap/slapd.conf" 2>&1 /dev/null`
+ DATABASEDIR=`awk '$1 == "directory" { print $2 }' "%%PREFIX%%/etc/openldap/slapd.conf" 2>&1 /dev/null`
fi
start_precmd=start_precmd