aboutsummaryrefslogtreecommitdiff
path: root/net/openldap24-server
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2015-04-27 19:23:14 +0000
committerXin LI <delphij@FreeBSD.org>2015-04-27 19:23:14 +0000
commit7c59a19689f25f8da2125114287340fafcc7814d (patch)
tree2d045d84b409717fcbada5972fdf1ea9e92ac67b /net/openldap24-server
parentfd2cbd68b6a8d7e18a4cfb3b01e8b3523f6efbcf (diff)
downloadports-7c59a19689f25f8da2125114287340fafcc7814d.tar.gz
ports-7c59a19689f25f8da2125114287340fafcc7814d.zip
Notes
Diffstat (limited to 'net/openldap24-server')
-rw-r--r--net/openldap24-server/Makefile8
-rw-r--r--net/openldap24-server/files/patch-build__top.mk11
2 files changed, 18 insertions, 1 deletions
diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile
index 808d5b31de2d..ee91203925ab 100644
--- a/net/openldap24-server/Makefile
+++ b/net/openldap24-server/Makefile
@@ -64,7 +64,7 @@ OPENLDAP_SHLIB_MAJOR= 2
OPENLDAP_SHLIB_MINOR= 10.3
OPENLDAP_MAJOR= ${DISTVERSION:R}
-OPTIONS_DEFINE= FETCH GSSAPI
+OPTIONS_DEFINE= DEBUG FETCH GSSAPI
FETCH_DESC= Enable fetch(3) support
GSSAPI_DESC= With GSSAPI support (implies SASL support)
@@ -276,6 +276,12 @@ 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
diff --git a/net/openldap24-server/files/patch-build__top.mk b/net/openldap24-server/files/patch-build__top.mk
new file mode 100644
index 000000000000..df3c5fdcdb7b
--- /dev/null
+++ b/net/openldap24-server/files/patch-build__top.mk
@@ -0,0 +1,11 @@
+--- build/top.mk.orig 2014-09-18 18:48:49.000000000 -0700
++++ build/top.mk 2015-04-27 12:02:52.234737749 -0700
+@@ -59,8 +59,6 @@
+ INSTALL_DATA = $(INSTALL) -m 644
+ INSTALL_SCRIPT = $(INSTALL)
+
+-STRIP = -s
+-
+ LINT = lint
+ 5LINT = 5lint
+