summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/openldap23-server/Makefile7
-rw-r--r--net/openldap24-server/Makefile7
2 files changed, 2 insertions, 12 deletions
diff --git a/net/openldap23-server/Makefile b/net/openldap23-server/Makefile
index 3ba62bb1da7f..3d00ee605428 100644
--- a/net/openldap23-server/Makefile
+++ b/net/openldap23-server/Makefile
@@ -384,13 +384,8 @@ CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" \
.if defined(CLIENT_ONLY)
.include "${FILESDIR}/manpages"
.else
-.if (${OSVERSION} >= 700007 || (${OSVERSION} < 700000 && ${OSVERSION} >= 600101))
-RC_SUFX=
-.else
-RC_SUFX= .sh
-.endif
SUB_LIST+= RC_DIR=${PREFIX} \
- RC_SUFX=${RC_SUFX} \
+ RC_SUFX=${RC_SUBR_SUFFIX} \
LDAP_RUN_DIR=${LDAP_RUN_DIR} \
DATABASEDIR=${DATABASEDIR}
.endif
diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile
index 3cc16faef1f4..37aebfe4cf29 100644
--- a/net/openldap24-server/Makefile
+++ b/net/openldap24-server/Makefile
@@ -423,13 +423,8 @@ CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" \
.if defined(CLIENT_ONLY)
.include "${FILESDIR}/manpages"
.else
-.if (${OSVERSION} >= 700007 || (${OSVERSION} < 700000 && ${OSVERSION} >= 600101))
-RC_SUFX=
-.else
-RC_SUFX= .sh
-.endif
SUB_LIST+= RC_DIR=${PREFIX} \
- RC_SUFX=${RC_SUFX} \
+ RC_SUFX=${RC_SUBR_SUFFIX} \
LDAP_RUN_DIR=${LDAP_RUN_DIR} \
DATABASEDIR=${DATABASEDIR}
.endif