From owner-svn-ports-all@freebsd.org Wed Dec 4 18:01:24 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1BE6B1AA4E2; Wed, 4 Dec 2019 18:01:24 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Smr374rKz49jK; Wed, 4 Dec 2019 18:01:23 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CFFEF4132; Wed, 4 Dec 2019 18:01:23 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xB4I1NUa091814; Wed, 4 Dec 2019 18:01:23 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xB4I1NPj091813; Wed, 4 Dec 2019 18:01:23 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201912041801.xB4I1NPj091813@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Wed, 4 Dec 2019 18:01:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r519038 - head/mail/mailutils X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: head/mail/mailutils X-SVN-Commit-Revision: 519038 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Dec 2019 18:01:24 -0000 Author: danfe Date: Wed Dec 4 18:01:23 2019 New Revision: 519038 URL: https://svnweb.freebsd.org/changeset/ports/519038 Log: Unbreak the build with LDAP option selected (for some reason, the problem does not occur on FreeBSD 11.3 and 12.0): ld: error: .../libmu_auth.so: undefined reference to ber_memfree ld: error: .../libmu_auth.so: undefined reference to ber_memvfree ld: error: .../libmu_auth.so: undefined reference to ber_set_option It looks like an underlinking case, but I do not possess enough of domain knowledge to properly describe what had changed in our linker and why it was not a problem before. Reported by: maintainer Modified: head/mail/mailutils/Makefile Modified: head/mail/mailutils/Makefile ============================================================================== --- head/mail/mailutils/Makefile Wed Dec 4 17:59:41 2019 (r519037) +++ head/mail/mailutils/Makefile Wed Dec 4 18:01:23 2019 (r519038) @@ -94,6 +94,8 @@ TOKYOCABINET_LIB_DEPENDS= libtokyocabinet.so:databases TOKYOCABINET_CONFIGURE_WITH= tokyocabinet post-patch: + @${REINPLACE_CMD} -e '/MU_AUTHLIBS=/s,-lldap,-llber &,' \ + ${WRKSRC}/configure @${REINPLACE_CMD} -e '/need_charset_alias=/s|true|false|' \ ${WRKSRC}/lib/gnu/Makefile.in @${REINPLACE_CMD} -e '/chown/,+1s|ch|#&|' ${WRKSRC}/dotlock/Makefile.in