Date: Mon, 16 Dec 2019 10:12:04 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r520244 - head/mail/mailutils Message-ID: <201912161012.xBGAC4ai090971@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Mon Dec 16 10:12:04 2019 New Revision: 520244 URL: https://svnweb.freebsd.org/changeset/ports/520244 Log: Remove DEBUG option and amend CONFIGURE_ARGS according to WITH_DEBUG. Users often got confused as to why installed binaries are stripped when they've selected DEBUG option, which should not have been an option in the first place, but a user-facing variable. Now sanity is restored. Modified: head/mail/mailutils/Makefile Modified: head/mail/mailutils/Makefile ============================================================================== --- head/mail/mailutils/Makefile Mon Dec 16 10:11:55 2019 (r520243) +++ head/mail/mailutils/Makefile Mon Dec 16 10:12:04 2019 (r520244) @@ -30,7 +30,7 @@ PLIST_SUB+= LIBVERSION=6.0.0 LIBSUFX=6 VERSION=${PORTV INFO= ${PORTNAME} PORTDOCS= AUTHORS ChangeLog NEWS README* THANKS TODO -OPTIONS_DEFINE= DEBUG DOCS GNUTLS GSSAPI GUILE MH NNTP NLS PAM PYTHON +OPTIONS_DEFINE= DOCS GNUTLS GSSAPI GUILE MH NNTP NLS PAM PYTHON OPTIONS_DEFAULT= GDBM GNUTLS PAM OPTIONS_MULTI= DB OPTIONS_MULTI_DB= BDB GDBM KYOTOCABINET LDAP MYSQL PGSQL TOKYOCABINET @@ -41,8 +41,6 @@ KYOTOCABINET_DESC= Kyoto Cabinet database support MH_DESC= MH (Message Handling) system support TOKYOCABINET_DESC= Tokyo Cabinet database support -DEBUG_CONFIGURE_ON= --enable-debug - GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_WITH= gnutls @@ -92,6 +90,10 @@ PGSQL_CONFIGURE_WITH= postgres TOKYOCABINET_LIB_DEPENDS= libtokyocabinet.so:databases/tokyocabinet TOKYOCABINET_CONFIGURE_WITH= tokyocabinet + +.if defined(WITH_DEBUG) +CONFIGURE_ARGS+= --enable-debug +.endif post-patch: @${REINPLACE_CMD} -e '/MU_AUTHLIBS=/s,-lldap,-llber &,' \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912161012.xBGAC4ai090971>