Date: Mon, 27 Apr 2015 19:23:15 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r384865 - in head/net/openldap24-server: . files Message-ID: <201504271923.t3RJNFB8043074@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Mon Apr 27 19:23:14 2015 New Revision: 384865 URL: https://svnweb.freebsd.org/changeset/ports/384865 Log: Don't hardcode STRIP unconditionally [1]. Instead, respect the build environment's settings. Add a DEBUG option. Based on patch from: tobik [1] Requested by: Leander Schäfer <info netocean de> Added: head/net/openldap24-server/files/patch-build__top.mk (contents, props changed) Modified: head/net/openldap24-server/Makefile Modified: head/net/openldap24-server/Makefile ============================================================================== --- head/net/openldap24-server/Makefile Mon Apr 27 18:50:47 2015 (r384864) +++ head/net/openldap24-server/Makefile Mon Apr 27 19:23:14 2015 (r384865) @@ -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=${O 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 Added: head/net/openldap24-server/files/patch-build__top.mk ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/openldap24-server/files/patch-build__top.mk Mon Apr 27 19:23:14 2015 (r384865) @@ -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 +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504271923.t3RJNFB8043074>