Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Oct 2019 19:50:32 +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: r514352 - head/net-p2p/qtum
Message-ID:  <201910121950.x9CJoWcD050746@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Sat Oct 12 19:50:32 2019
New Revision: 514352
URL: https://svnweb.freebsd.org/changeset/ports/514352

Log:
  net-p2p/qtum: fix build on GCC architectures
  
  Don't add -L/usr/lib because it breaks linking when using GCC (used on GCC architectures), because GCC tries to link with base libstdc++.
  
  PR:             241074
  Approved by:    linimon (mentor), vd (maintainer)

Modified:
  head/net-p2p/qtum/Makefile

Modified: head/net-p2p/qtum/Makefile
==============================================================================
--- head/net-p2p/qtum/Makefile	Sat Oct 12 18:57:15 2019	(r514351)
+++ head/net-p2p/qtum/Makefile	Sat Oct 12 19:50:32 2019	(r514352)
@@ -56,9 +56,9 @@ GH_TUPLE=	qtumproject:qtum:${DISTVERSIONPREFIX}${PORTV
 # setting some related environment variables.
 .if ${SSL_DEFAULT} == base
 CONFIGURE_ENV+=	CRYPTO_CFLAGS="-I${OPENSSLINC}" \
-		CRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto" \
+		CRYPTO_LIBS="-lcrypto" \
 		SSL_CFLAGS="-I${OPENSSLINC}" \
-		SSL_LIBS="-L${OPENSSLLIB} -lssl"
+		SSL_LIBS="-lssl"
 .endif
 
 .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000



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