Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2019 14:38:10 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r517377 - head/archivers/urbackup-client/files
Message-ID:  <201911131438.xADEcAvY012019@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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`



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911131438.xADEcAvY012019>