From owner-svn-ports-all@freebsd.org Sun Mar 29 10:09:28 2020 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 8A4FB2796E4; Sun, 29 Mar 2020 10:09:28 +0000 (UTC) (envelope-from tobik@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 48qrt021w2z3Ltf; Sun, 29 Mar 2020 10:09:28 +0000 (UTC) (envelope-from tobik@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 8763226181; Sun, 29 Mar 2020 10:09:18 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 02TA9IEI015069; Sun, 29 Mar 2020 10:09:18 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 02TA9Ixm015068; Sun, 29 Mar 2020 10:09:18 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <202003291009.02TA9Ixm015068@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sun, 29 Mar 2020 10:09:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r529787 - head/sysutils/pacman X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/sysutils/pacman X-SVN-Commit-Revision: 529787 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: Sun, 29 Mar 2020 10:09:28 -0000 Author: tobik Date: Sun Mar 29 10:09:17 2020 New Revision: 529787 URL: https://svnweb.freebsd.org/changeset/ports/529787 Log: sysutils/pacman: Unbreak build on FreeBSD >= 12.1 ld: error: ../../lib/libalpm/.libs/libalpm.so: undefined reference to MD5_Final ld: error: ../../lib/libalpm/.libs/libalpm.so: undefined reference to MD5_Init ld: error: ../../lib/libalpm/.libs/libalpm.so: undefined reference to MD5_Update ld: error: ../../lib/libalpm/.libs/libalpm.so: undefined reference to SHA256_Final ld: error: ../../lib/libalpm/.libs/libalpm.so: undefined reference to SHA256_Init ld: error: ../../lib/libalpm/.libs/libalpm.so: undefined reference to SHA256_Update http://beefy6.nyi.freebsd.org/data/121amd64-default/529299/logs/errors/pacman-5.1.3.log Add missing -lcrypto to SSL_LIBS and make sure libalpm is linked directly with it instead of indirectly through dependencies. Modified: head/sysutils/pacman/Makefile Modified: head/sysutils/pacman/Makefile ============================================================================== --- head/sysutils/pacman/Makefile Sun Mar 29 09:43:23 2020 (r529786) +++ head/sysutils/pacman/Makefile Sun Mar 29 10:09:17 2020 (r529787) @@ -3,6 +3,7 @@ PORTNAME= pacman PORTVERSION= 5.1.3 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= https://sources.archlinux.org/other/${PORTNAME}/ \ https://mirror.amdmi3.ru/distfiles/ @@ -24,7 +25,8 @@ SHEBANG_FILES= ${WRKSRC}/scripts/makepkg-template.pl.i GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-root-dir="${PACMAN_ROOT}" \ --localstatedir=/var -CONFIGURE_ENV= LIBSSL_CFLAGS="-I${OPENSSLINC}" LIBSSL_LIBS="-L${OPENSSLLIB}" +CONFIGURE_ENV= LIBSSL_CFLAGS="-I${OPENSSLINC}" \ + LIBSSL_LIBS="-L${OPENSSLLIB} -lcrypto" USE_LDCONFIG= yes BINARY_WRAPPERS= gm4 @@ -50,10 +52,6 @@ NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls .include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1300000 -BROKEN= does not build (undefined reference to MD5_Final) -.endif post-patch: @${REINPLACE_CMD} -e 's|m4|gm4|' ${WRKSRC}/scripts/Makefile.in