Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Sep 2019 14:24:20 +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: r513388 - head/net/spoofer/files
Message-ID:  <201909301424.x8UEOKQV062536@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Mon Sep 30 14:24:19 2019
New Revision: 513388
URL: https://svnweb.freebsd.org/changeset/ports/513388

Log:
  net/spoofer: fix build on GCC architectures
  
  GCC from ports on GCC architectures fails to build this port when base OpenSSL is used because -L/usr/lib takes over -L/usr/local/lib/gcc9 and in result, base libstdc++ is used instead of the one from ports. Fix this issue with patch to configure script.
  
  PR:		240690
  Approved by:	linimon (mentor), portmgr (blanket: build fix)

Added:
  head/net/spoofer/files/patch-configure   (contents, props changed)

Added: head/net/spoofer/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/spoofer/files/patch-configure	Mon Sep 30 14:24:19 2019	(r513388)
@@ -0,0 +1,15 @@
+--- configure.orig	2019-07-03 23:43:25 UTC
++++ configure
+@@ -11092,8 +11092,10 @@ fi
+             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl/ssl.h in $ssldir" >&5
+ $as_echo_n "checking for openssl/ssl.h in $ssldir... " >&6; }
+             if test -f "$ssldir/include/openssl/ssl.h"; then
+-                OPENSSL_INCLUDES="-I$ssldir/include"
+-                OPENSSL_LDFLAGS="-L$ssldir/lib"
++		if test $ssldir != /usr; then
++	                OPENSSL_INCLUDES="-I$ssldir/include"
++	                OPENSSL_LDFLAGS="-L$ssldir/lib"
++		fi
+                 OPENSSL_LIBS="-lssl -lcrypto"
+                 found=true
+                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5



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