aboutsummaryrefslogtreecommitdiff
path: root/net/openldap24-server
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2015-09-13 07:55:25 +0000
committerXin LI <delphij@FreeBSD.org>2015-09-13 07:55:25 +0000
commit5a26b9c43484258f538d95d1fd71051d8192502d (patch)
tree3a620e26eb004cc2ffed9c105c10b70a976d81e5 /net/openldap24-server
parent9bf826c281481de40976cb3efc61c0079aa99593 (diff)
downloadports-5a26b9c43484258f538d95d1fd71051d8192502d.tar.gz
ports-5a26b9c43484258f538d95d1fd71051d8192502d.zip
Notes
Diffstat (limited to 'net/openldap24-server')
-rw-r--r--net/openldap24-server/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile
index 0593cd69ad41..c87331a0f3dc 100644
--- a/net/openldap24-server/Makefile
+++ b/net/openldap24-server/Makefile
@@ -56,8 +56,8 @@ WANT_OPENLDAP_VER?= 24
BROKEN= incompatible OpenLDAP version: ${WANT_OPENLDAP_VER}
.endif
-PORTREVISION_CLIENT= 1
-PORTREVISION_SERVER= 1
+PORTREVISION_CLIENT= 2
+PORTREVISION_SERVER= 2
OPENLDAP_SHLIB_MAJOR= 2
OPENLDAP_SHLIB_MINOR= 10.5
OPENLDAP_MAJOR= ${DISTVERSION:R}
@@ -189,6 +189,15 @@ CONFIGURE_ARGS= --with-threads=posix \
# XXX FreeBSD does not implement O_DSYNC and fdatasync at this time.
CFLAGS+= -DMDB_DSYNC=O_SYNC -Dfdatasync=fsync
+.if ${PORT_OPTIONS:MDEBUG}
+CONFIGURE_ARGS+= --enable-debug=yes
+.else
+CONFIGURE_ARGS+= --disable-debug
+CFLAGS+= -DNDEBUG
+.endif
+
+MAKE_ENV+= STRIP=${STRIP}
+
.if !${PORT_OPTIONS:MFETCH}
CONFIGURE_ARGS+= --without-fetch
.endif
@@ -274,12 +283,6 @@ CONFIGURE_ARGS+= --enable-constraint=${OVERLAY_ENABLE}
CONFIGURE_ARGS+= --enable-dds=${OVERLAY_ENABLE}
.endif
-.if ${PORT_OPTIONS:MDEBUG}
-CONFIGURE_ARGS+= --enable-debug=yes
-.endif
-
-MAKE_ENV+= STRIP=${STRIP}
-
.if ${PORT_OPTIONS:MDEREF}
CONFIGURE_ARGS+= --enable-deref=${OVERLAY_ENABLE}
.endif