From owner-svn-ports-all@freebsd.org Wed Nov 13 14:38:10 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 BAD7E1B26BF; Wed, 13 Nov 2019 14:38:10 +0000 (UTC) (envelope-from pkubaj@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 47CnKG4bBgz46Rr; Wed, 13 Nov 2019 14:38:10 +0000 (UTC) (envelope-from pkubaj@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 80CAC19888; Wed, 13 Nov 2019 14:38:10 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xADEcAXT012020; Wed, 13 Nov 2019 14:38:10 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xADEcAvY012019; Wed, 13 Nov 2019 14:38:10 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <201911131438.xADEcAvY012019@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Wed, 13 Nov 2019 14:38:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r517377 - head/archivers/urbackup-client/files X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: head/archivers/urbackup-client/files X-SVN-Commit-Revision: 517377 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, 13 Nov 2019 14:38:10 -0000 Author: pkubaj Date: Wed Nov 13 14:38:10 2019 New Revision: 517377 URL: https://svnweb.freebsd.org/changeset/ports/517377 Log: archivers/urbackup-client: fix build on GCC architectures Adding -L/usr/lib breaks compilation with GCC from ports because it attempts to link to base libstdc++. PR: 241891 Approved by: freebsd@coombscloud.com (maintainer), linimon (mentor) Added: head/archivers/urbackup-client/files/patch-m4_ax__check__openssl.m4 (contents, props changed) Added: head/archivers/urbackup-client/files/patch-m4_ax__check__openssl.m4 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/archivers/urbackup-client/files/patch-m4_ax__check__openssl.m4 Wed Nov 13 14:38:10 2019 (r517377) @@ -0,0 +1,11 @@ +--- m4/ax_check_openssl.m4.orig 2019-11-11 19:52:41 UTC ++++ m4/ax_check_openssl.m4 +@@ -53,7 +53,7 @@ AC_DEFUN([AX_CHECK_OPENSSL], [ + # then use that information and don't search ssldirs + AC_CHECK_TOOL([PKG_CONFIG], [pkg-config]) + if test x"$PKG_CONFIG" != x""; then +- OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null` ++ OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null | sed 's|-L/usr/lib||g'` + if test $? = 0; then + OPENSSL_LIBS=`$PKG_CONFIG openssl --libs-only-l 2>/dev/null` + OPENSSL_INCLUDES=`$PKG_CONFIG openssl --cflags-only-I 2>/dev/null`